-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
59 lines (53 loc) · 1.17 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
52
53
54
55
56
57
58
59
defmodule Trolleybus.MixProject do
use Mix.Project
@version "0.2.0"
@source_url "https://github.com/sketch-hq/trolleybus"
def project do
[
app: :trolleybus,
version: @version,
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: docs(),
dialyzer: [plt_add_apps: [:mix]]
]
end
def application do
[
extra_applications: [:logger],
mod: {Trolleybus.Application, []}
]
end
defp package do
[
description: "Local, application-level PubSub API for dispatching side effects.",
maintainers: ["Sketch"],
licenses: ["MIT"],
links: %{
"GitHub" => @source_url
}
]
end
defp deps do
[
{:ecto, "~> 3.0"},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.27", only: :dev, runtime: false}
]
end
defp docs do
[
main: "Trolleybus",
source_url: @source_url,
source_ref: "v#{@version}",
extras: [
"README.md",
"CHANGELOG.md",
"LICENSE"
]
]
end
end