Current section

Files

Jump to
Raw

mix.exs

defmodule ExJsonSchema.Mixfile do
use Mix.Project
def project do
[
app: :ex_json_schema,
version: "0.2.2",
elixir: "~> 1.0",
description: "A JSON Schema validator with full support for the draft 4 specification.",
deps: deps,
package: package,
test_coverage: [tool: ExCoveralls]
]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[applications: []]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type `mix help deps` for more examples and options
defp deps do
[
{:httpoison, "~> 0.7", only: :test},
{:poison, "~> 1.4", only: :test},
{:excoveralls, "~> 0.3", only: :test}
]
end
defp package do
[
files: ~w(lib mix.exs README.md LICENSE),
maintainers: ["Jonas Schmidt"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/jonasschmidt/ex_json_schema"}
]
end
end