44 lines
1.1 KiB
Elixir
44 lines
1.1 KiB
Elixir
defmodule JSON.LD.Mixfile do
|
|
use Mix.Project
|
|
|
|
@version "0.0.1"
|
|
|
|
def project do
|
|
[
|
|
app: :json_ld,
|
|
version: @version,
|
|
description: "An implementation of the JSON-LD standard",
|
|
elixir: "~> 1.4", # TODO: "~> 1.5" for the fix of URI.merge
|
|
build_embedded: Mix.env == :prod,
|
|
start_permanent: Mix.env == :prod,
|
|
package: package(),
|
|
deps: deps()
|
|
]
|
|
end
|
|
|
|
defp package do
|
|
[
|
|
name: :json_ld,
|
|
maintainers: ["Marcel Otto"],
|
|
licenses: ["MIT"],
|
|
links: %{"GitHub" => "https://github.com/rdfex/json_ld",
|
|
"Docs" => "http://rdfex.github.io/json_ld)/"},
|
|
files: ["lib", "priv", "mix.exs", "README*", "readme*", "LICENSE*", "license*"]
|
|
]
|
|
end
|
|
|
|
def application do
|
|
[extra_applications: [:logger]]
|
|
end
|
|
|
|
defp deps do
|
|
[
|
|
{:rdf, path: "../rdf"},
|
|
{:poison, "~> 3.0"},
|
|
{:dialyxir, "~> 0.4", only: [:dev, :test]},
|
|
{:credo, "~> 0.6", only: [:dev, :test]},
|
|
{:ex_doc, "~> 0.14", only: :dev},
|
|
{:mix_test_watch, "~> 0.3", only: :dev},
|
|
]
|
|
end
|
|
end
|