Packages
nldoc_conversion_writer_html
1.1.0-alpha.1
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.44
1.2.43
1.2.42
1.2.41
1.2.40
1.2.39
1.2.38
1.2.37
1.2.36
1.2.35
1.2.34
1.2.33
1.2.32
1.2.31
1.2.30
1.2.29
1.2.28
1.2.27
1.2.26
1.2.25
1.2.24
1.2.23
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.1.0-alpha.2
1.1.0-alpha.1
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Logic for writing NLdoc Spec to HTML.
Current section
Files
Jump to
Current section
Files
nldoc_conversion_writer_html
mix.exs
mix.exs
defmodule NLdoc.Conversion.Writer.Html.MixProject do
use Mix.Project
@name "NLdoc.Conversion.Writer.Html"
@source_url "https://gitlab.com/toegang-voor-iedereen/backend/lib/nldoc_conversion_writer_html"
@hex_url "https://hex.docs.pm/nldoc_conversion_writer_html"
@description "Logic for writing NLdoc Spec to HTML."
def project do
[
app: :nldoc_conversion_writer_html,
version: "1.1.0-alpha.1",
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: @description,
docs: &docs/0,
package: package()
]
end
defp docs do
[
extras: ["README.md", "CHANGELOG.md"],
source_url: @source_url
]
end
def package do
[
files: [
"lib/nldoc/conversion/writer/html.ex",
"lib/nldoc/conversion/writer/html/*.ex",
"mix.exs",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
licenses: ["EUPL-1.2"],
links: %{
"Changelog" => @hex_url <> "/changelog.html",
"EUPL-1.2 License" => "https://joinup.ec.europa.eu/software/page/eupl",
"Source" => @source_url
}
]
end
def elixirc_paths(_), do: ["lib"]
def application do
[
extra_applications: []
]
end
defp deps do
[
{:nldoc_spec, "~> 1.2"},
{:floki, "~> 0.37"},
# Testing: coverage, JUnit-style test reports for CI, mocking and snapshot testing.
{:excoveralls, "~> 0.18", only: :test},
{:nldoc_test, "~> 3.0", 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