Packages

A simple library which searches Google. Requires phantomjs on the PATH.

Current section

Files

Jump to
lmgtfy lib application.ex
Raw

lib/application.ex

defmodule Lmgtfy.Application do
# See http://elixir-lang.org/docs/stable/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
def start(_type, _args) do
Agent.start_link fn -> System.cmd("phantomjs", ["--wd"]) end
end
end