forked from mbuhot/ecto_job
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
47 lines (42 loc) · 1.13 KB
/
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
41
42
43
44
45
46
47
defmodule EctoJob.Mixfile do
use Mix.Project
@version "0.0.1"
def project do
[
app: :ecto_job,
version: "0.0.1",
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env),
start_permanent: Mix.env == :prod,
deps: deps(),
dialyzer: [
plt_add_apps: [:mix],
plt_add_deps: :apps_direct,
flags: ["-Werror_handling", "-Wno_unused", "-Wunmatched_returns", "-Wunderspecs"],
remove_defaults: [:unknown]
],
docs: [
extras: ["README.md"],
source_ref: "v#{@version}",
source_url: "https://github.com/mbuhot/ecto_job"
]
]
end
def application do
[]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:ecto, "~> 2.2"},
{:postgrex, ">= 0.0.0"},
{:poison, ">= 0.0.0"},
{:gen_stage, ">= 0.0.0"},
{:credo, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, ">= 0.0.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.12", only: :dev, runtime: false},
{:inch_ex, ">= 0.4.0", only: :dev, runtime: false}
]
end
end