defmodule IPCrypt.MixProject do use Mix.Project def project do [ app: :ipcrypt, version: "0.2.0", elixir: "~> 1.14", start_permanent: Mix.env() == :prod, deps: deps(), description: "Elixir implementation of IPCrypt for IP address encryption and obfuscation", package: package(), elixirc_paths: elixirc_paths(Mix.env()) ] end def application do [ extra_applications: [:logger, :crypto] ] end defp deps do [ {:ex_doc, "~> 0.27", only: :dev, runtime: false}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:benchee, "~> 1.0", only: :dev} ] end defp package do [ licenses: ["MIT"], links: %{"GitHub" => "https://github.com/jedisct1/draft-denis-ipcrypt"} ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] end