defmodule Nuntly.MixProject do use Mix.Project def project do [ app: :nuntly, version: "0.1.0", elixir: "~> 1.20", description: description(), package: package(), docs: docs(), start_permanent: Mix.env() == :prod, deps: deps() ] 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 [ {:req, "~> 0.7"}, {:plug, "~> 1.18", only: :test}, {:ex_doc, "~> 0.38", only: :dev, runtime: false} ] end defp description do "A compact Req-backed Elixir client for the Nuntly REST API, generated from OpenAPI." end defp docs do [ main: "Nuntly", extras: ["README.md", "docs/rest-api-reference.md", "CHANGELOG.md"], source_url: "https://github.com/mindreframer/nuntly" ] end defp package do [ licenses: ["MIT"], maintainers: ["Roman Heinrich"], links: %{ "GitHub" => "https://github.com/mindreframer/nuntly", "Changelog" => "https://github.com/mindreframer/nuntly/blob/main/CHANGELOG.md" }, files: ~w(lib docs .formatter.exs mix.exs README.md CHANGELOG.md LICENSE) ] end end