2018-06-10 21:02:34 +00:00
|
|
|
defmodule Elstat.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :elstat,
|
|
|
|
version: "0.1.0",
|
|
|
|
elixir: "~> 1.6",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
deps: deps()
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
|
|
def application do
|
|
|
|
[
|
2018-06-10 21:56:59 +00:00
|
|
|
mod: {Elstat, []},
|
2018-06-10 21:02:34 +00:00
|
|
|
extra_applications: [:logger]
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
|
|
|
{:httpoison, "~> 1.1.1"},
|
|
|
|
{:cowboy, "~> 2.4.0"}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|