defmodule Weatherex.Mixfile do use Mix.Project def project do [app: :weatherex, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, package: package(), description: description(), name: "WeatherEX", source_url: "https://github.com/shymega/weatherex", deps: deps()] end def package do [name: :weatherex, files: ["lib", "mix.exs"], maintainers: ["Dom Rodriguez"], licenses: ["Apache 2.0"], links: %{"Github" => "https://github.com/shymega/weatherex"}] end def description() do """ An Elixir library to bind to various Weather-related APIS. """ end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do # Specify extra applications you'll use from Erlang/Elixir [extra_applications: [:logger, :httpoison, :poison]] end # Dependencies can be Hex packages: # # {:my_dep, "~> 0.3.0"} # # Or git/path repositories: # # {:my_dep, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} # # Type "mix help deps" for more examples and options defp deps do [{:poison, "~> 3.0"}, # For encoding/decoding JSON. {:httpoison, "~> 0.11.1"}, # For interacting with HTTP servers. {:earmark, ">= 0.0.0", only: :dev}, {:ex_doc, ">= 0.0.0", only: :dev}] end end