Packages
distillery
2.0.2
2.1.1
2.1.0
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
retired
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0-rc.12
2.0.0-rc.11
2.0.0-rc.10
2.0.0-rc.8
2.0.0-rc.7
2.0.0-rc.6
2.0.0-rc.5
2.0.0-rc.4
2.0.0-rc.3
2.0.0-rc.2
2.0.0-rc.1
retired
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.5
1.3.4
1.3.3
retired
1.3.2
retired
1.3.1
1.3.0
1.2.2
1.2.0
1.1.2
1.1.0
1.0.0
0.10.1
0.10.0
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.0
0.8.0
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
Build releases of your Mix projects with ease!
Current section
Files
Jump to
Current section
Files
distillery
mix.exs
mix.exs
defmodule Distillery.Mixfile do
use Mix.Project
def project do
[
app: :distillery,
version: "2.0.2",
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: docs(),
aliases: aliases(),
elixirc_paths: elixirc_paths(Mix.env),
preferred_cli_env: [
docs: :docs,
"hex.publish": :docs,
"eqc.mini": :test,
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test,
"coveralls.json": :test,
"coveralls.post": :test,
],
test_coverage: [tool: ExCoveralls],
dialyzer: [
flags: [:error_handling, :race_conditions, :underspecs]
]
]
end
def application do
[extra_applications: [:runtime_tools, :logger]]
end
defp deps do
[
{:artificery, "~> 0.2"},
{:ex_doc, "~> 0.13", only: [:docs]},
{:excoveralls, "~> 0.6", only: [:test]},
{:eqc_ex, "~> 1.4", only: [:test]},
{:ex_unit_clustered_case, "~> 0.3", only: [:test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.2", only: [:dev], runtime: false}
]
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: %{
Documentation: "https://hexdocs.pm/distillery",
Changelog: "https://hexdocs.pm/distillery/changelog.html",
GitHub: "https://github.com/bitwalker/distillery"
}
]
end
defp aliases do
[
docs: [&mkdocs/1, "docs"],
c: ["compile", "format --check-equivalent"],
"compile-check": [
"compile",
"format --check-formatted --dry-run",
"dialyzer --halt-exit-status"
],
]
end
defp mkdocs(_args) do
docs = Path.join([File.cwd!, "bin", "docs"])
{_, 0} = System.cmd(docs, ["build"], into: IO.stream(:stdio, :line))
end
defp docs do
[
source_url: "https://github.com/bitwalker/distillery",
homepage_url: "https://github.com/bitwalker/distillery",
main: "home"
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end