-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
54 lines (48 loc) · 1.11 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
defmodule AbnfParsec.MixProject do
use Mix.Project
@version "1.2.1"
def project do
[
app: :abnf_parsec,
version: @version,
elixir: "~> 1.10",
deps: deps(),
name: "AbnfParsec",
description: "ABNF in, parser out",
source_url: "https://github.com/princemaple/abnf_parsec",
homepage_url: "https://github.com/princemaple/abnf_parsec",
package: package(),
docs: docs(),
preferred_cli_env: [
docs: :docs,
"hex.publish": :docs
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:nimble_parsec, "~> 1.1"},
{:ex_doc, ">= 0.0.0", only: :docs, runtime: false}
]
end
defp package do
[
files: ~w(lib mix.exs README* LICENSE* CHANGELOG*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/princemaple/abnf_parsec"}
]
end
defp docs do
[
source_ref: "v#{@version}",
main: "AbnfParsec",
canonical: "http://hexdocs.pm/abnf_parsec",
source_url: "https://github.com/princemaple/abnf_parsec"
]
end
end