Skip to content

Commit 85f16b0

Browse files
committed
Update mix project definition
1 parent bd623ec commit 85f16b0

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

mix.exs

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
defmodule Pacer.MixProject do
22
use Mix.Project
33

4+
@name "Pacer"
5+
@version "0.1.0"
6+
@source_url "https://github.com/carsdotcom/pacer"
7+
48
def project do
59
[
610
app: :pacer,
7-
version: "0.1.0",
11+
contributors: contributors(),
12+
name: @name,
13+
version: @version,
14+
source_url: @source_url,
815
build_path: "../../_build",
9-
config_path: "../../config/config.exs",
1016
deps_path: "../../deps",
1117
lockfile: "../../mix.lock",
18+
description: description(),
19+
package: package(),
1220
elixir: "~> 1.14",
1321
elixirc_paths: elixirc_paths(Mix.env()),
14-
start_permanent: Mix.env() == :prod,
1522
deps: deps()
1623
]
1724
end
@@ -25,8 +32,28 @@ defmodule Pacer.MixProject do
2532
defp elixirc_paths(:test), do: ["lib", "test/support"]
2633
defp elixirc_paths(_), do: ["lib"]
2734

35+
def contributors() do
36+
[
37+
{"Zack Kayser", "@zkayser"},
38+
{"Stephanie Lane", "@stelane"}
39+
]
40+
end
41+
42+
defp description do
43+
"Dependency graphs for optimal function call ordering"
44+
end
45+
46+
defp package do
47+
[
48+
name: "pacer",
49+
licenses: ["Apache-2.0"],
50+
links: %{"GitHub" => @source_url}
51+
]
52+
end
53+
2854
defp deps do
2955
[
56+
{:ex_doc, "~> 0.27", only: :dev, runtime: false},
3057
{:libgraph, "~> 0.16.0"},
3158
{:nimble_options, ">= 0.0.0"},
3259
{:telemetry, "~> 0.4"}

0 commit comments

Comments
 (0)