forked from edib-tool/mix-edib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
79 lines (68 loc) · 1.98 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Code.eval_file "tasks/readme.exs"
defmodule EDIB.Mixfile do
use Mix.Project
@version "0.8.1"
def project do
[
app: :edib,
name: "edib",
version: @version,
elixir: "~> 1.3",
deps: deps,
description: description,
package: package,
source_url: "https://github.com/edib-tool/mix-edib",
homepage_url: "http://hexdocs.pm/mix-edib",
docs: &docs/0,
test_coverage: [tool: ExCoveralls, test_task: "espec"],
preferred_cli_env: [espec: :test],
aliases: aliases,
]
end
def application, do: [applications: [:logger]]
defp description do
"""
Mix task to create a docker image of your application release.
More detailed information about release image building at:
https://github.com/edib-tool/elixir-docker-image-builder
"""
end
defp docs do
[
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/edib-tool/mix-edib"
]
end
defp package do
[
files: ["lib", "tasks", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Christoph Grabo"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/edib-tool/mix-edib",
"Docs" => "http://hexdocs.pm/edib",
"About" => "https://github.com/edib-tool/elixir-docker-image-builder"
}
]
end
defp deps do
[
{:cmark, "~> 0.6", only: [:docs, :ci]},
{:credo, "~> 0.4", only: [:lint, :ci]},
{:dogma, "~> 0.1", only: [:lint, :ci]},
{:espec, "~> 0.8", only: [:test, :ci]},
{:ex_doc, "~> 0.12", only: [:docs, :ci]},
{:excoveralls, "~> 0.5", only: [:test, :ci]},
{:inch_ex, "~> 0.5", only: [:docs, :ci]},
{:poison, "~> 2.2", only: [:test, :docs, :lint, :ci], override: true},
{:dialyxir, "~> 0.3", only: [:dev]},
]
end
defp aliases do
[
"test": ["espec"]
]
end
end