Packages
nldoc_validation
2.3.0
4.0.42
4.0.41
4.0.40
4.0.39
4.0.38
4.0.37
4.0.36
4.0.35
4.0.34
4.0.33
4.0.32
4.0.31
4.0.30
4.0.29
4.0.28
4.0.27
4.0.26
4.0.25
4.0.24
4.0.23
4.0.22
4.0.21
4.0.20
4.0.19
4.0.18
4.0.17
4.0.16
4.0.15
4.0.14
4.0.12
4.0.11
4.0.10
4.0.9
4.0.8
4.0.7
4.0.6
4.0.5
4.0.4
4.0.3
4.0.2
4.0.1
4.0.0
3.0.0
2.3.17
2.3.16
2.3.15
2.3.14
2.3.13
2.3.12
2.3.11
2.3.10
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.0
2.1.0
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
WCAG validator for the NLdoc specification.
Current section
Files
Jump to
Current section
Files
nldoc_validation
mix.exs
mix.exs
defmodule NLdoc.Validation.MixProject do
use Mix.Project
@name "NLdoc.Validation"
@source_url "https://gitlab.com/toegang-voor-iedereen/backend/lib/nldoc_validation"
def project do
[
app: :nldoc_validation,
version: "2.3.0",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
elixirc_options: [warnings_as_errors: true],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.cobertura": :test
],
test_coverage: [tool: ExCoveralls],
# Docs and publishing
name: @name,
source_url: @source_url,
description: "WCAG validator for the NLdoc specification.",
docs: &docs/0,
package: [
licenses: ["EUPL-1.2"],
links: %{
"EUPL-1.2 License" => "https://joinup.ec.europa.eu/software/page/eupl",
"Source" => @source_url
}
]
]
end
defp docs do
[
extras: ["README.md", "CHANGELOG.md"]
]
end
def elixirc_paths(_), do: ["lib"]
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:nldoc_spec, "~> 1.2"},
# Testing: coverage, JUnit-style test reports for CI, mocking and snapshot testing.
{:nldoc_test, "~> 3.0", only: :test},
{:excoveralls, "~> 0.18", only: :test},
{:mimic, "~> 1.10", only: :test},
# Linting & do
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
# Dependency auditing
{:mix_audit, "~> 2.1", only: [:dev, :test], runtime: false},
# Docs
{:ex_doc, "~> 0.37", only: :dev, runtime: false}
]
end
end