Current section
Files
Jump to
Current section
Files
random_user_api
mix.exs
mix.exs
defmodule RandomUserApi.Mixfile do
use Mix.Project
def project do
[app: :random_user_api,
version: "0.1.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]]
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.9.0"},
{:jsx, "~> 2.8.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