-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
51 lines (44 loc) · 1.14 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
defmodule Og.Mixfile do
use Mix.Project
@version "1.1.2"
def project do
[
app: :og,
name: "Óg",
version: @version,
elixir: ">= 1.2.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
elixirc_paths: elixirc_paths(Mix.env),
source_url: "https://github.com/stephenmoloney/og",
description: "Og is a small collection of debugging functions for use during development.",
package: package(),
deps: deps(),
docs: [
main: "Og",
extra_section: ""
]
]
end
def application do
[applications: [:logger, :apex, :secure_log_formatter]]
end
def deps() do
[
{:apex, "~> 1.0"},
{:secure_log_formatter, "~> 1.1"},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.14", only: :dev}
]
end
defp package do
%{
licenses: ["MIT"],
maintainers: ["Stephen Moloney"],
links: %{ "GitHub" => "https://github.com/stephenmoloney/og"},
files: ~w(lib mix.exs README* LICENSE* CHANGELOG*)
}
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end