Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Pike.Mixfile do
use Mix.Project
def project do
[
app: :pike,
description: "Guard at the API Gate",
version: "0.2.0",
elixir: "~> 1.6",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: docs(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.cobertura": :test
]
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[extra_applications: [:logger, :plug, :phoenix]]
end
defp deps do
[
{:plug, "~> 1.14"},
{:phoenix, "~> 1.7", optional: true},
{:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true},
{:excoveralls, "~> 0.18", only: :test}
]
end
defp package do
[
name: :pike,
maintainers: ["exgfr"],
licenses: ["MIT"],
links: %{github: "https://github.com/exgfr/Pike",
homepage: "https://exgfr.com/oss/pike"},
files: ~w(lib config mix.exs README.md LICENSE docs)
]
end
defp docs do
[
main: "readme",
extras: [
"README.md",
"docs/quick-start.md",
"docs/error-responses-and-debugging.md",
"docs/roll-your-own-store.md",
"docs/using-pike-authorization-plug.md"
],
source_url: "https://github.com/exgfr/Pike"
]
end
end