Packages

Simplates are a file format for server-side web programming.

Current section

Files

Jump to
simplates mix.exs
Raw

mix.exs

defmodule Simplates.Mixfile do
use Mix.Project
@version "0.5.0"
def project do
[app: :simplates,
version: @version,
elixir: "~> 1.4",
description: description(),
package: package(),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
deps: deps(),
name: "Simplates",
docs: [extras: ["README.md"], main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/LawfulGood/simplates"]]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[extra_applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:sweet_xml, "~> 0.6.5"},
{:floki, "~> 0.14.0"},
{:mime, "~> 1.1"},
# Plug is only needed for type resolution for now
{:plug, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:earmark, ">= 0.0.0", only: :dev},
{:excoveralls, "~> 0.6", only: :test},
{:credo, "~> 0.7", only: [:dev, :test]}
]
end
defp package do
[# These are the default files included in the package
name: :simplates,
files: ["lib", "mix.exs", "README.md", "LICENSE.md"],
maintainers: ["Luke Strickland"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/LawfulGood/simplates"}]
end
defp description do
"""
Simplates are a file format for server-side web programming.
"""
end
end