defmodule Formula.MixProject do use Mix.Project @source_url "https://github.com/Climate-Recovery-Exchange/formula" @version "0.1.8" def project do [ app: :formula, version: @version, elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), description: description(), package: package(), deps: deps(), start_permanent: Mix.env() == :prod, compilers: [:yecc] ++ Mix.compilers(), name: "formula" ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:credo, "~> 1.7.0", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.3", only: [:dev], runtime: false}, {:excoveralls, "~> 0.15.1", only: :test}, {:mix_test_watch, "~> 1.0", only: :dev, runtime: false}, {:ex_doc, "~> 0.29.2", only: :dev}, {:decimal, "~> 2.0"}, {:explorer, "~> 0.9.0"} ] end defp description() do "Parse formula (mostly excel-related formulas, but not limited to Excel)." end defp package() do [ licenses: ["MIT"], maintainers: ["nthock"], links: %{ "GitHub" => @source_url } ] end end