Packages

`SWAFViews` is a template library dedicated to HTML generation. It only depends on EEX. It precompiles templates as functions for fast rendering and protects the rendered code from injection.

Current section

Files

Jump to
swaf_views mix.exs
Raw

mix.exs

defmodule SwafViews.MixProject do
use Mix.Project
def project do
[
app: :swaf_views,
version: "0.2.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package()
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Maurycy Szmurlo"],
licenses: ["Apache-2.0"],
links: %{"GitLab" => "https://gitlab.com/swaf-simple-web-application-framework/swafviews.git"},
description: """
`SWAFViews` is a template library dedicated to HTML generation. It
only depends on EEX. It precompiles templates as functions for fast
rendering and protects the rendered code from injection.
""",
]
end
# 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
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
]
end
end