defmodule Audit.MixProject do use Mix.Project def project do [ app: :audit, aliases: [checks: ["credo", "format", "dialyzer", "hex.outdated"]], version: "0.1.7", elixir: "~> 1.13", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), name: "Audit", source_url: "https://github.com/rugyoga/audit" ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger], mod: {Audit, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:credo, "~> 1.6", only: [:ci, :dev, :test], runtime: false}, {:dialyxir, "~> 1.1", only: [:ci, :dev, :test], runtime: false}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false}, {:excoveralls, "~> 0.14.5", only: [:ci, :test]}, {:mock, "~> 0.3.7", only: [:ci, :test]} ] end defp description do "The Audit library allows you to easily track changes to key data structures in your code." end defp package do [ files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG), licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/rugyoga/audit"} ] end end