Skip to content

Commit 2368e58

Browse files
committed
Minor updates to mix.exs
1 parent 87a5c56 commit 2368e58

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

mix.exs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
defmodule PBCS.MixProject do
22
use Mix.Project
33

4+
@version "0.1.1"
5+
@source_url "https://github.com/hexpm/pbcs"
6+
47
def project do
58
[
69
app: :pbcs,
7-
version: "0.1.1",
10+
version: @version,
811
elixir: "~> 1.0",
912
start_permanent: Mix.env() == :prod,
1013
deps: deps(),
11-
source_url: "https://github.com/hexpm/pbcs",
12-
docs: [extras: ["README.md"], main: "readme"],
14+
source_url: @source_url,
15+
docs: [source_ref: "v#{@version}", main: "readme", extras: ["README.md"]],
1316
description: description(),
1417
package: package()
1518
]
1619
end
1720

18-
# Run "mix help compile.app" to learn about applications.
1921
def application do
2022
[
2123
extra_applications: [:crypto]
2224
]
2325
end
2426

25-
# Run "mix help deps" to learn about dependencies.
2627
defp deps do
2728
[
28-
{:ex_doc, "~> 0.18", only: :dev}
29+
{:ex_doc, "~> 0.18", only: :dev, runtime: false}
2930
]
3031
end
3132

@@ -35,8 +36,8 @@ defmodule PBCS.MixProject do
3536

3637
defp package do
3738
[
38-
licenses: ["Apache 2.0"],
39-
links: %{"Github" => "https://github.com/hexpm/pbcs"}
39+
licenses: ["Apache-2.0"],
40+
links: %{"GitHub" => "https://github.com/hexpm/pbcs"}
4041
]
4142
end
4243
end

0 commit comments

Comments
 (0)