rdf-ex/mix.exs
Marcel Otto 00002eeaf4 Downgrade to Inch 1.0
- we do not want to drop support for Elixir 1.6 yet
2019-02-16 04:18:27 +01:00

74 lines
1.6 KiB
Elixir

defmodule RDF.Mixfile do
use Mix.Project
@repo_url "https://github.com/marcelotto/rdf-ex"
@version File.read!("VERSION") |> String.trim
def project do
[
app: :rdf,
version: @version,
elixir: "~> 1.6",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
# Hex
package: package(),
description: description(),
# Docs
name: "RDF.ex",
docs: [
main: "RDF",
source_url: @repo_url,
source_ref: "v#{@version}",
extras: ["README.md"],
],
# ExCoveralls
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
]
end
defp description do
"""
An implementation of RDF for Elixir.
"""
end
defp package do
[
maintainers: ["Marcel Otto"],
licenses: ["MIT"],
links: %{"GitHub" => @repo_url},
files: ~w[lib src/*.xrl src/*.yrl priv mix.exs VERSION *.md]
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:decimal, "~> 1.5"},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:inch_ex, "~> 1.0", only: [:dev, :test]},
{:benchee, "~> 0.14", only: :bench},
{:erlang_term, "~> 1.7", only: :bench},
]
end
end