Current section

Files

Jump to
abacus mix.exs
Raw

mix.exs

defmodule Abacus.Mixfile do
  use Mix.Project

  def project do
    [
      app: :abacus,
      version: "2.2.0",
      elixir: "~> 1.8",
      build_embedded: Mix.env() == :prod,
      start_permanent: Mix.env() == :prod,
      compilers: [:leex, :yecc] ++ Mix.compilers(),
      description: description(),
      package: package(),
      deps: deps()
    ]
  end

  def application do
    [extra_applications: [:logger]]
  end

  defp deps do
    [
      {:ex_doc, ">= 0.0.0", only: :dev}
    ]
  end

  defp description do
    """
    Mathematical expression parser and evaluator in Elixir.






    Tags: math, parse, parser, eval
    """
  end

  defp package do
    # These are the default files included in the package
    [
      name: :abacus,
      files: ["lib", "mix.exs", "README*", "LICENSE*", "src"],
      maintainers: ["Moritz Schmale"],
      licenses: ["MIT"],
      links: %{"GitHub" => "https://github.com/narrowtux/abacus"}
    ]
  end
end