defmodule BarrelEx.MixProject do use Mix.Project @version "0.2.1" @description "HTTP REST client for interacting with a BarrelDB node" def project do [ app: :barrel_ex_http, version: @version, description: @description, elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp package do %{ licenses: ["MIT"], maintainers: ["Jakub Janarek "], links: %{ "GitLab" => "https://gitlab.com/barrel-db/Clients/barrel_ex_http" }, files: [ "config", "lib", ".credo.exs", ".formatter.exs", "README.md", "LICENSE", "mix.exs" ] } end # Run "mix help deps" to learn about dependencies. defp deps do [ {:httpoison, "~> 1.1.0"}, {:jason, "~> 1.0"}, {:morphix, "~> 0.3.0"}, {:credo, "~> 0.8", only: [:dev, :test]}, {:excoveralls, "~> 0.8", only: :test}, {:dialyxir, "~> 0.5", only: [:dev], runtime: false}, {:ex_doc, ">= 0.0.0", 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