defmodule Excalt.MixProject do use Mix.Project @version "0.1.2" def project do [ app: :excalt, version: @version, elixir: "~> 1.14", start_permanent: Mix.env() == :prod, description: description(), name: "Excalt", package: package(), deps: deps(), docs: docs(), source_url: "https://github.com/MigaduMail/excalt" ] end def package do [ maintainers: ["swerter", "Michael Bruderer"], licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/MigaduMail/excalt"} ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger], mod: {Excalt.Application, []} ] end defp description() do "Another CalDav client library" end defp docs do [ main: "readme", extras: ["README.md"], source_ref: "v#{@version}" ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:saxy, "~> 1.5"}, {:finch, "~> 0.14"}, {:tzdata, "~> 1.1"}, {:ex_doc, ">= 0.29.1", only: :dev, runtime: false}, {:elixir_uuid, "~> 1.2"}, {:jason, "~> 1.4"}, {:naiveical, "~> 0.1.2"}, # {:naiveical, path: "../naiveical"}, {:credo, "~> 1.6", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.2", only: [:dev], runtime: false} ] end end