61aea98d9e
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.28.6 to 0.29.0. - [Release notes](https://github.com/elixir-lang/ex_doc/releases) - [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md) - [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.28.6...v0.29.0) --- updated-dependencies: - dependency-name: ex_doc dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
69 lines
1.5 KiB
Elixir
69 lines
1.5 KiB
Elixir
defmodule Temple.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :temple,
|
|
name: "Temple",
|
|
description: "An HTML DSL for Elixir",
|
|
version: "0.10.0",
|
|
package: package(),
|
|
elixirc_paths: elixirc_paths(Mix.env()),
|
|
elixir: "~> 1.13",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
source_url: "https://github.com/mhanberg/temple",
|
|
docs: docs()
|
|
]
|
|
end
|
|
|
|
# Specifies which paths to compile per environment.
|
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
|
defp elixirc_paths(_), do: ["lib"]
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger]
|
|
]
|
|
end
|
|
|
|
defp docs() do
|
|
[
|
|
main: "Temple",
|
|
extras: [
|
|
"README.md",
|
|
"guides/getting-started.md",
|
|
"guides/your-first-template.md",
|
|
"guides/components.md",
|
|
"guides/converting-html.md",
|
|
"guides/migrating/0.8-to-0.9.md"
|
|
],
|
|
groups_for_extras: groups_for_extras()
|
|
]
|
|
end
|
|
|
|
defp groups_for_extras do
|
|
[
|
|
Guides: ~r/guides\/[^\/]+\.md/,
|
|
Migrating: ~r/guides\/migrating\/.?/
|
|
]
|
|
end
|
|
|
|
defp package do
|
|
[
|
|
maintainers: ["Mitchell Hanberg"],
|
|
licenses: ["MIT"],
|
|
links: %{github: "https://github.com/mhanberg/temple"},
|
|
files: ~w(lib priv CHANGELOG.md LICENSE mix.exs README.md .formatter.exs)
|
|
]
|
|
end
|
|
|
|
defp deps do
|
|
[
|
|
{:typed_struct, "~> 0.3"},
|
|
{:floki, ">= 0.0.0"},
|
|
{:ex_doc, "~> 0.29.0", only: :dev, runtime: false}
|
|
]
|
|
end
|
|
end
|