defmodule Crc64.MixProject do use Mix.Project def project do [ app: :crc_64, version: "0.1.0", elixir: "~> 1.14", start_permanent: Mix.env() == :prod, deps: deps(), description: "Implements dependency free CRC64 checksum calculation, great for validating Amazon AWS S3 downloads", docs: docs(), package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, doctor: :test, coverage: :test, dialyzer: :test, "coveralls.lcov": :test, "coveralls.json": :test, "coveralls.html": :test ], dialyzer: [ plt_add_apps: [:ex_unit, :mix], plt_local_path: "dialyzer", plt_core_path: "dialyzer", plt_ignore_apps: [], list_unused_filters: true, ignore_warnings: ".dialyzer-ignore.exs", flags: [:unmatched_returns, :no_improper_lists] ] ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:credo, ">= 0.0.0", only: [:dev, :test]}, {:excoveralls, ">= 0.0.0", only: [:dev, :test]}, {:ex_doc, ">= 0.0.0", only: :dev}, {:dialyxir, "~> 1.1", only: :test, runtime: false} ] end defp package do [ maintainers: ["Mika Kalathil"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/MikaAK/ecto_shorts"}, files: ~w(mix.exs README.md CHANGELOG.md LICENSE lib) ] end defp docs do [ main: "Crc64", source_url: "https://github.com/MikaAK/crc64" ] end end