-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
70 lines (61 loc) · 1.36 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
60
61
62
63
64
65
66
67
68
69
70
defmodule Pacer.MixProject do
use Mix.Project
@name "Pacer"
@version "0.1.6"
@source_url "https://github.com/carsdotcom/pacer"
def project do
[
app: :pacer,
build_path: "../../_build",
contributors: contributors(),
deps: deps(),
deps_path: "../../deps",
description: description(),
docs: docs(),
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
name: @name,
source_url: @source_url,
package: package(),
version: @version
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def contributors() do
[
{"Zack Kayser", "@zkayser"},
{"Stephanie Lane", "@stelane"}
]
end
defp description do
"Dependency graphs for optimal function call ordering"
end
defp docs do
[
main: "Pacer.Workflow",
logo: __DIR__ <> "/assets/PACER.png",
extras: ["README.md", "LICENSE"]
]
end
defp package do
[
name: "pacer",
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url}
]
end
defp deps do
[
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:libgraph, "~> 0.16.0"},
{:nimble_options, ">= 0.0.0"},
{:telemetry, "~> 1.2 or ~> 0.4"}
]
end
end