forked from bitwalker/distillery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
65 lines (61 loc) · 1.69 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
defmodule Distillery.Mixfile do
use Mix.Project
def project do
[app: :distillery,
version: "1.5.1",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
aliases: aliases(),
test_coverage: [tool: ExCoveralls]]
end
def application, do: [applications: []]
defp deps do
[{:ex_doc, "~> 0.13", only: [:dev]},
{:excoveralls, "~> 0.6", only: [:dev, :test]},
{:credo, "~> 0.6", only: [:dev]},
{:propcheck, "~> 0.0.1", only: :test},
{:dialyze, "~> 0.2", only: [:dev]}]
end
defp description do
"""
Build releases of your Mix projects with ease!
"""
end
defp package do
[files: ["lib", "priv", "mix.exs", "README.md", "LICENSE.md"],
maintainers: ["Paul Schoenfelder"],
licenses: ["MIT"],
links: %{"Github": "https://github.com/bitwalker/distillery"}]
end
defp aliases do
["compile-check": "do compile, credo --strict"]
end
defp docs do
[main: "getting-started",
extras: [
"docs/Getting Started.md",
"docs/CLI.md",
"docs/Configuration.md",
"docs/Runtime Configuration.md",
"docs/Walkthrough.md",
"docs/Use With Phoenix.md",
"docs/Phoenix Walkthrough.md",
"docs/Running Migrations.md",
"docs/Upgrades and Downgrades.md",
"docs/Use With systemd.md",
"docs/Common Issues.md",
"docs/Umbrella Projects.md",
"docs/Overlays.md",
"docs/Plugins.md",
"docs/Boot Hooks.md",
"docs/Custom Commands.md",
"docs/Shell Script API.md",
"docs/Terminology.md"
]]
end
end