-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
69 lines (59 loc) · 1.48 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
defmodule Wild.MixProject do
use Mix.Project
@source_url "https://github.com/TylerPachal/wild"
def project do
[
app: :wild,
version: "1.0.1",
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
package: package(),
description: description(),
# Docs
name: "Wild",
docs: docs(),
source_url: @source_url,
]
end
def application do
[]
end
defp elixirc_paths(:test), do: ["lib", "test/support", "test/mix"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:propcheck, "~> 1.4", only: :test},
{:exprof, "~> 0.2", only: :test},
{:benchee, "~> 1.0", only: :test},
{:ex_doc, "~> 0.25", only: :dev, runtime: false}
]
end
defp package do
[
description: description(),
files: ["priv", "lib", "config", "mix.exs", "README*"],
maintainers: ["Tyler Pachal"],
licenses: ["MIT"],
links: %{github: @source_url}
]
end
defp docs do
[
main: "readme",
extras: ["README.md"],
source_url: @source_url,
extra_section: "Overview"
]
end
defp description do
"""
A wildcard matching library that implements unix-style blob pattern
matching functionality for Elixir binaries. It works on all binary input
and defaults to working with codepoint representations of binaries, but
other modes are also available.
"""
end
end