defmodule ExJsonSchema.Mixfile do use Mix.Project def project do [ app: :ex_json_schema, version: "0.7.2", elixir: "~> 1.3", description: "A JSON Schema validator with full support for the draft 4 specification and zero dependencies.", deps: deps(), package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test] ] 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.8", only: :test}, {:poison, "~> 1.5", only: :test}, {:excoveralls, "~> 0.4", only: :test}, {:mix_test_watch, "~> 0.2.6", only: [:dev, :test]}, {:ex_doc, ">= 0.0.0", only: :dev}, {:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false} ] 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