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"},
|
2018-06-11 20:42:40 +00:00
|
|
|
{:poison, "~> 3.1"},
|
2018-06-11 07:24:16 +00:00
|
|
|
{:sqlitex, "~> 1.4.2"},
|
2018-06-12 02:18:28 +00:00
|
|
|
{:cowboy, "~> 2.4.0"},
|
|
|
|
{:distillery, "~> 1.5", runtime: false}
|
2018-06-10 21:02:34 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|