defmodule KeyCDN.MixProject do use Mix.Project def project do [ app: :keycdn, version: "0.1.0", elixir: "~> 1.10", elixirc_paths: elixirc_paths(Mix.env()), compilers: Mix.compilers(), start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "keycdn", source_url: "https://github.com/alexandrubagu/keycdn_ex" ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Specifies which paths to compile per environment. defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] defp description() do "Elixir package for the KeyCDN API" end defp package() do [ # This option is only needed when you don't want to use the OTP application name name: "keycdn", licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/alexandrubagu/keycdn_ex"} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:tesla, "~> 1.4"}, {:dialyxir, "~> 1.0", only: [:dev], runtime: false}, {:credo, "~> 1.5", only: [:dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end end