defmodule FdsnPlugs.MixProject do use Mix.Project def project do [ app: :fdsn_plugs, version: "0.7.0", docs: &docs/0, elixir: "~> 1.18", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: "Set of plugs implementing FDSN web services specification", test_coverage: [tool: ExCoveralls], preferred_cli_env: [ coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test, "coveralls.cobertura": :test ], dialyzer: [ ignore_warnings: ".dialyzer_ignore.exs", plt_file: {:no_warn, "priv/plts/project.plt"} ], source_url: "https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/RESIF/fdsn_plugs", homepage_url: "https://gricad-gitlab.univ-grenoble-alpes.fr/OSUG/RESIF/fdsn_plugs" ] 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 [ {:ex_doc, "~> 0.20", only: :dev, runtime: false}, {:plug, "~> 1.17"}, {:joken, "~> 2.6.2"}, {:dialyxir, "~> 1.4", only: [:dev], runtime: false}, {:excoveralls, "~> 0.18.1", only: [:test]} ] end defp docs do [ extras: ["README.md", "LICENSE"] ] end defp package do [ licenses: ["GPL-3.0-or-later"], links: %{"FDSN webservices" => "https://www.fdsn.org/webservices/"} ] end end