Current section

Files

Jump to
ex_jira mix.exs
Raw

mix.exs

defmodule ExJira.Mixfile do
use Mix.Project
def project do
[
aliases: aliases(),
app: :ex_jira,
version: "0.0.5",
elixir: "~> 1.4",
description: description(),
package: package(),
build_embedded: Mix.env() == :prod,
source_url: "https://github.com/TheFirstAvenger/elixir-ex_jira",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
deps: deps()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:my_dep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:httpotion, "~> 3.0"},
{:poison, "~> 3.1"},
{:ex_unit_notifier, "~> 0.1", only: :test},
{:mix_test_watch, "~> 0.8", only: :dev, runtime: false},
{:earmark, "~> 1.2", only: :dev, runtime: false},
{:ex_doc, "~> 0.19.1", only: :dev, runtime: false},
{:excoveralls, "~> 0.10.3", only: :test},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false}
]
end
defp description do
"Elixir wrapper for the JIRA REST API"
end
defp package do
[
maintainers: ["Mike Binns"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/TheFirstAvenger/elixir-ex_jira.git"}
]
end
defp aliases do
[
compile: ["compile --warnings-as-errors"]
]
end
end