Packages

A simple Boolean Expression Lexer and Parser.

Current section

Files

Jump to
belp mix.exs
Raw

mix.exs

defmodule Belp.MixProject do
use Mix.Project
@github_url "https://github.com/tlux/belp"
def project do
[
app: :belp,
version: "1.0.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
compilers: [:yecc, :leex] ++ Mix.compilers(),
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.travis": :test
],
dialyzer: [plt_add_apps: [:ex_unit, :mix]],
description: description(),
package: package(),
# Docs
name: "Belp",
source_url: @github_url,
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: []
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:castore, "~> 1.0", only: :test, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.18", only: :test},
{:ex_doc, "~> 0.31", only: :dev},
{:mix_audit, "~> 2.1", only: [:dev, :test]}
]
end
defp description do
"A simple Boolean Expression Lexer and Parser."
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => @github_url
}
]
end
end