Current section

Files

Jump to
xgit mix.exs
Raw

mix.exs

defmodule Xgit.MixProject do
use Mix.Project
def project do
[
app: :xgit,
version: "0.1.1",
name: "Xgit",
elixir: "~> 1.8",
elixirc_options: [warnings_as_errors: true],
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
build_per_environment: false,
test_coverage: [tool: ExCoveralls],
description: description(),
package: package()
]
end
def application, do: [mod: {Xgit, []}, extra_applications: [:logger]]
defp deps do
[
{:credo, "~> 1.1", only: [:dev, :test]},
{:dialyxir, "~> 1.0.0-rc.6", only: :dev, runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:ex_doc, "~> 0.20", only: :dev},
{:temp, "~> 0.4", only: :test}
]
end
defp description, do: "Pure Elixir native implementation of git"
defp package do
[
maintainers: ["Eric Scouten"],
licenses: ["Apache2"],
links: %{"Github" => "https://github.com/elixir-git/xgit"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end