defmodule ShotTo.MixProject do use Mix.Project @version "0.1.0" @source_url "https://github.com/jcschuster/ShotTo" def project do [ app: :shot_to, version: @version, elixir: "~> 1.19", start_permanent: Mix.env() == :prod, deps: deps(), source_url: @source_url, description: description(), docs: docs(), package: package() ] end def application do [ extra_applications: [:logger] ] end defp deps do [ {:shot_ds, "~> 1.2"}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.40", only: :dev, runtime: false} ] end defp description do """ An Elixir implementation of NCPO-LNF (the βη-long-normal Computability Path Order of Niederhauser and Middeldorp) for ordering terms in Church's simple type theory as represented by the `shot_ds` library. """ end defp docs do [ main: "readme", extras: [ "README.md", "examples/demo.livemd" ], source_url: @source_url, source_ref: "v#{@version}", before_closing_head_tag: &before_closing_head_tag/1, before_closing_body_tag: &before_closing_body_tag/1 ] end defp package do [ licenses: ["MIT"], maintainers: ["Johannes Schuster"], links: %{ "GitHub" => @source_url }, files: ~w(lib LICENSE mix.exs README.md) ] end defp before_closing_head_tag(:html) do """ """ end defp before_closing_head_tag(_), do: "" defp before_closing_body_tag(:html) do """ """ end defp before_closing_body_tag(_), do: "" end