-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
40 lines (36 loc) · 949 Bytes
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
defmodule Ttodo.MixProject do
use Mix.Project
def project do
[
app: :ttodo,
version: "0.1.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
escript: escript(),
language: :elixir,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test]
]
end
def escript do
[main_module: Ttodo]
end
def application do
[
extra_applications: [:logger, :timex]
]
end
defp deps do
[
{:poison, "~> 3.1"},
{:elixir_uuid, "~> 1.2"},
{:timex, "~> 3.1"},
{:tzdata, "== 0.1.8", override: true}, # temp hack as tzdata issue with escript. https://github.com/bitwalker/timex/issues/86
{:mox, "~> 0.5", only: :test},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:excoveralls, "~> 0.10", only: :test},
]
end
end