defmodule Pillar.MixProject do use Mix.Project def project do [ app: :pillar, version: "0.3.2", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], description: description(), package: package(), preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test ], dialyzer: [ plt_add_deps: :transitive ], source_url: "https://github.com/sofakingworld/pillar", name: "Pillar", source_url: "https://github.com/sofakingworld/pillar", homepage_url: "https://github.com/sofakingworld/pillar", docs: [ main: "Pillar", extras: ["README.md"] ] ] 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 [ {:jason, ">= 1.0.0"}, {:credo, "~> 1.1.0", only: [:dev, :test], runtime: false}, {:excoveralls, "~> 0.12.2", only: :test}, {:ex_doc, "~> 0.21", only: :dev, runtime: false}, {:dialyxir, "~> 1.0.0-rc.7", only: [:dev, :test], runtime: false} ] end defp description() do "Clickhouse client" end defp package() do [ # This option is only needed when you don't want to use the OTP application name name: "pillar", # These are the default files included in the package files: ~w(lib .formatter.exs mix.exs README*), licenses: ["MIT"], links: %{"GitHub" => "https://github.com/sofakingworld/pillar"} ] end end