defmodule UriTemplate.Mixfile do use Mix.Project def project do [ app: :uri_template, description: "RFC 6570 complient URI template processor", version: "1.2.1", elixir: "~> 1.3", deps: deps(), package: package() ] end defp git_files do System.cmd("git", ["ls-files", "-z"]) |> (fn {x, _} -> x end).() |> String.split(<<0>>) |> Enum.filter(fn x -> x != "" end) end defp package do [ files: git_files(), licenses: ["http://opensource.org/licenses/MIT"], maintainers: ["pezra@barelyenough.org"], contributors: ["Peter Williams", "Julius Beckmann"], links: %{homepage: "http://github.com/pezra/ex-uri-template"} ] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [] 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 [ {:poison, "~> 1.4", only: :test}, {:earmark, ">= 0.0.0", only: :dev}, {:ex_doc, "~> 0.7", only: :dev} ] end end