defmodule RandomUserApi.Mixfile do use Mix.Project def project do [app: :random_user_api, version: "1.2.0", elixir: "~> 1.2", name: "RandomUserApi", source_url: "https://github.com/PatNowak/random_user_api", elixir: "~> 1.2", package: package, description: description, deps: deps] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [applications: [:logger, :httpoison, :jsx], env: [random_me_api: RandomUserApi.API] ] 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.11.2"}, {:jsx, "~> 2.8.0"}, {:ex_doc, "~> 0.13.0"} ] end defp package do [# These are the default files included in the package name: :random_user_api, maintainers: ["Patryk Nowak"], licenses: ["Apache 2.0"], links: %{"GitHub" => "https://github.com/PatNowak/random_user_api"}] end defp description do "It's a simple client of randomuser.me to get random user." end end