Packages

A wrapper for `Application.get_config/3` and `System.get_env/1` that makes it easy to swap in process-specific overrides. Among other things, this allows tests to provide async-safe overrides.

Current section

Files

Jump to
gestalt mix.exs
Raw

mix.exs

defmodule Gestalt.MixProject do
use Mix.Project
@version "0.3.0"
def project do
[
aliases: aliases(),
app: :gestalt,
deps: deps(),
description: description(),
docs: [
extras: extras(),
source_ref: "v#{@version}",
main: "overview"
],
elixir: "~> 1.6",
package: package(),
source_url: "https://github.com/sparta-science/elixir-gestalt",
start_permanent: Mix.env() == :prod,
version: @version
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[extra_applications: [:logger]]
end
defp aliases do
[
"hex.publish": ["git.tags.create", "git.tags.push", "hex.publish"]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:junit_formatter, ">= 0.0.0", only: :test}
]
end
defp description() do
"""
A wrapper for `Application.get_config/3` and `System.get_env/1` that makes it easy
to swap in process-specific overrides. Among other things, this allows tests
to provide async-safe overrides.
"""
end
defp extras() do
[
"pages/overview.md"
]
end
defp package() do
[
licenses: ["MIT"],
maintainers: ["Eric Saxby"],
links: %{"GitHub" => "https://github.com/sparta-science/elixir-gestalt"}
]
end
end