defmodule Apimo.MixProject do use Mix.Project @version "0.4.1" def project do [ app: :apimo, version: @version, elixir: "~> 1.6", description: "Apimo client for Elixir", start_permanent: Mix.env() == :prod, package: package(), docs: docs(), build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, deps: deps(), name: "Apimo", source_url: "https://github.com/derniercri/apimo" ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, "~> 0.19", only: :dev}, {:httpoison, "~> 1.4"}, {:poison, "~> 3.1"} ] end def docs do [ extras: ["README.md"], source_ref: "v#{@version}" ] end defp package do # These are the default files included in the package [ name: "apimo", files: ["lib", "mix.exs", "README.md"], maintainers: ["Guillaume Bailleul"], licenses: ["MIT"], links: %{ "GitHub" => "https://github.com/derniercri/apimo", "DernierCri" => "https://derniercri.io/" } ] end end