Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Content.MixProject do
use Mix.Project
def project do
[
app: :content,
version: "1.0.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: "Content Negotation lets you render HTML and JSON in the same route.",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
defp package() do
[
files: ~w(lib/content.ex LICENSE mix.exs README.md),
name: "content",
licenses: ["GNU GPL v2.0"],
maintainers: ["dwyl"],
links: %{"GitHub" => "https://github.com/dwyl/content"}
]
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
[
# Plug helper functions: github.com/elixir-plug/plug
{:plug, "~> 1.10", only: [:dev, :test]},
# Track coverage: github.com/parroty/excoveralls
{:excoveralls, "~> 0.12.3", only: :test},
# See: github.com/dwyl/auth_plug_example
{:jason, "~> 1.2.0", only: [:dev, :test]},
# {:phoenix, "~> 1.5.1", only: [:dev, :test]},
# For publishing Hex.docs:
{:ex_doc, "~> 0.21.3", only: :dev}
]
end
end