defmodule SimpleHttp.Mixfile do use Mix.Project def project do [ app: :simplehttp, version: "0.4.2", elixir: "~> 1.4", description: description(), package: package(), build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), test_coverage: [tool: ExCoveralls] ] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [applications: [:logger]] end defp deps do [ {:ex_doc, ">= 0.0.0", only: :dev}, {:cowboy, "~> 1.0.4", only: :test}, {:plug, ">= 1.2.0", only: :test}, {:excoveralls, github: "parroty/excoveralls", only: :test} ] end defp description do """ HTTP client for Elixir without dependencies. """ end defp package do [# These are the default files included in the package name: :simplehttp, description: "HTTP client for Elixir without dependencies", files: ["lib", "config", "mix.exs", "README*"], maintainers: ["Bagu Alexandru Bogdan"], licenses: ["Apache 2.0"], links: %{"GitHub" => "https://github.com/alexandrubagu/simplehttp", "Docs" => "https://github.com/alexandrubagu/simplehttp", "Website" => "http://www.alexandrubagu.info" }] end end