Packages
deli
0.1.21
0.2.0-rc.6
0.2.0-rc.5
0.2.0-rc.4
0.2.0-rc.3
0.2.0-rc.2
0.2.0-rc.1
0.1.28
0.1.27
0.1.26
0.1.25
0.1.23
0.1.22
0.1.21
0.1.20
0.1.19
0.1.18
0.1.17
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
retired
0.1.7
retired
0.1.6
retired
0.1.5
retired
0.1.4
retired
0.1.3
retired
0.1.2
retired
0.1.1
retired
0.1.0
retired
Easy deployment for Elixir apps
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Deli.MixProject do
use Mix.Project
def project do
[
app: :deli,
version: "0.1.21",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
application: application(),
deps: deps(),
dialyzer: dialyzer(),
docs: docs(),
package: package(),
source_url: "https://github.com/rodrigues/deli",
homepage_url: "https://hexdocs.pm/deli",
description: "A deploy task for Elixir applications"
]
end
def application do
[
extra_applications: [:mix, :logger]
]
end
defp deps do
[
{:edeliver, "~> 1.6.0", runtime: false},
{:distillery, "~> 2.0.10", runtime: false},
{:ex_doc, "~> 0.19.1", only: :dev, runtime: false},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev, :test], runtime: false}
]
end
defp dialyzer do
[
plt_add_deps: :apps_direct,
plt_add_apps: ~w(
ex_unit
mix
)a,
flags: ~w(
error_handling
race_conditions
unmatched_returns
)a,
ignore_warnings: ".dialyzer_ignore.exs"
]
end
defp docs do
[main: "readme", extras: ["README.md"]]
end
defp package do
[
maintainers: ["Victor Rodrigues"],
licenses: ["MIT"],
links: %{github: "https://github.com/rodrigues/deli"}
]
end
end