forked from edeliver/edeliver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
63 lines (58 loc) · 1.41 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
defmodule Edeliver.Mixfile do
use Mix.Project
def project do
[
app: :edeliver,
version: "1.6.0",
description: "Build and Deploy Elixir Applications and perform Hot-Code Upgrades and Schema Migrations",
elixirc_paths: elixirc_paths(),
package: [
licenses: ["MIT"],
files: [
"bin",
"CHANGELOG.md",
"lib",
"libexec",
"mix.exs",
"src",
"strategies",
"README.md",
],
maintainers: [],
links: %{"GitHub" => "https://github.com/boldpoker/edeliver"},
],
deps: deps(),
docs: docs(),
]
end
def application, do:
[applications: [],
mod: {Edeliver, []},
registered: [Edeliver.Supervisor, Edeliver],
env: []
]
defp deps do
[
{:distillery, "~> 2.0", optional: true, warn_missing: false},
{:meck, "~> 0.8.9", only: :test},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.19", only: :dev},
]
end
defp docs, do: [
logo: "docs/logo.png",
extras: [
"README.md": [title: "Usage"],
"docs/auto-versioning.md": [title: "Auto-Versioning"],
"docs/relup-patching.md": [title: "Relup-Patching"],
]
]
defp elixirc_paths() do
[
Path.join("lib", "distillery"),
Path.join("lib", "edeliver"),
Path.join("lib", "mix"),
Path.join("lib", "edeliver.ex")
]
end
end