Packages

A single, flexible interface for reading configuration from environment variables or `Mix.Config` with parsing and defaults.

Current section

Files

Jump to
atmo mix.exs
Raw

mix.exs

defmodule Atmo.Mixfile do
use Mix.Project
@description """
A single, flexible interface for reading configuration from environment variables or `Mix.Config` with parsing and defaults.
"""
def project do
[app: :atmo,
version: "0.1.0",
elixir: "~> 1.2",
description: @description,
package: package,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
deps: deps]
end
def application do
[applications: [:logger], mod: {Atmo, []}]
end
defp deps do
[
{:excoveralls, "~> 0.4", only: :test},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.11", only: :dev}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/vinli/atmo_ex"}
]
end
end