forked from edeliver/edeliver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
87 lines (80 loc) · 1.87 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
80
81
82
83
84
85
86
87
defmodule Edeliver.Mixfile do
use Mix.Project
@source_url "https://github.com/boldpoker/edeliver"
@version "1.9.2"
def project do
[
app: :edeliver,
version: @version,
elixir: ">= 1.10.0",
elixirc_paths: elixirc_paths(),
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[
applications: [],
mod: {Edeliver, []},
registered: [Edeliver.Supervisor, Edeliver],
env: []
]
end
defp deps do
[
{:distillery, "~> 2.1.0", optional: true, warn_missing: false},
{:meck, "~> 0.8.13", only: :test},
{:ex_doc, ">= 0.28.4", only: :dev, runtime: false}
]
end
defp docs do
[
extras: [
"CHANGELOG.md": [title: "Changelog"],
"README.md": [title: "Usage"],
"guides/docker.md": [title: "Docker Support"],
"guides/auto-versioning.md": [title: "Auto-Versioning"],
"guides/relup-patching.md": [title: "Relup-Patching"]
],
main: "readme",
assets: "assets",
logo: "assets/logo.png",
source_url: @source_url,
source_ref: "v#{@version}",
formatters: ["html"]
]
end
defp package do
[
description:
"Build and Deploy Elixir Applications and perform " <>
"Hot-Code Upgrades and Schema Migrations",
licenses: ["MIT"],
files: [
"bin",
"CHANGELOG.md",
"docker",
"lib",
"libexec",
"mix.exs",
"src",
"strategies",
"README.md"
],
maintainers: [],
links: %{
"Changelog" => "https://hexdocs.pm/edeliver/changelog.html",
"GitHub" => @source_url
}
]
end
defp elixirc_paths do
[
Path.join("lib", "distillery"),
Path.join("lib", "edeliver"),
Path.join("lib", "mix"),
Path.join("lib", "edeliver.ex")
]
end
end