Add environment based config.
[site_monitor.git] / mix.exs
blobe2579c3a8758062822a8a6c108fd63d855ecfcd6
1 defmodule SiteMonitor.Mixfile do
2   use Mix.Project
4   def project do
5     [app: :site_monitor,
6      version: "0.0.1",
7      elixir: "~> 1.0",
8      deps: deps]
9   end
11   # Configuration for the OTP application
12   #
13   # Type `mix help compile.app` for more information
14   def application do
15     [applications: [:logger, :postgrex, :ecto, :httpoison],
16       env: [redis: []],
17       mod: {SiteMonitor, []}]
18   end
20   # Dependencies can be Hex packages:
21   #
22   #   {:mydep, "~> 0.3.0"}
23   #
24   # Or git/path repositories:
25   #
26   #   {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
27   #
28   # Type `mix help deps` for more examples and options
29   defp deps do
30     [
31       {:postgrex, "0.7.0"},
32       {:ecto, "~> 0.8.1"},
33       {:ecto_hstore, "~> 0.0.1"},
34       {:httpoison, "~> 0.6"}
35     ]
36   end
37 end