defmodule ExHttp.MixProject do use Mix.Project def project do [ app: :ex_http, version: "0.0.1", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps() ] end defp description() do """ The encapsulation of http. """ end defp package() do [ files: ["lib", "mix.exs", "README.md"], maintainers: ["Leeduckgo"], licenses: ["Apache 2.0"], links: %{"GitHub" => "https://github.com/leeduckgo/ex_http", "Docs" => "https://hexdocs.pm/ex_http/"} ] 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 [ {:httpoison, "~> 1.5"}, {:poison, "~> 3.1"}, {:ex_doc, "~> 0.11", only: :dev}, {:earmark, "~> 0.1", only: :dev}, # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end end