-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
53 lines (48 loc) · 1.26 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
defmodule StringMatcher.MixProject do
use Mix.Project
@name :string_matcher
@version "0.1.3"
@deps [
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
@description "StringMatcher allows you to pass multiple regular expressions and a string and get values back."
def project do
[
app: @name,
version: @version,
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: @deps,
package: package(),
description: @description,
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp docs do
[
source_ref: "master",
main: "StringMatcher",
canonical: "http://hexdocs.pm/string_matcher",
source_url: "https://github.com/jnylen/string-matcher",
extras: [
"README.md"
]
]
end
defp package() do
[
# This option is only needed when you don't want to use the OTP application name
name: "string_matcher",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["MIT"],
links: %{"Github" => "https://github.com/jnylen/string-matcher"}
]
end
end