forked from h4cc/slugger
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
50 lines (45 loc) · 1.31 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
defmodule Slugger.Mixfile do
use Mix.Project
def project do
[app: :slugger,
name: "Slugger",
source_url: "https://github.com/h4cc/slugger",
version: "0.3.0",
elixir: "~> 1.3",
description: description(),
package: package(),
deps: deps()]
end
defp description do
"""
The library Slugger can generate slugs from given strings that can be used in URLs or file names.
"""
end
defp package do
[# These are the default files included in the package
files: ["config", "test", "lib", "bench", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Julius Beckmann"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/h4cc/slugger",
"Docs" => "http://hexdocs.pm/slugger/"}]
end
def application do
[
applications: [],
env: [
# Change these values using `config :slugger, separator_char: ?-` in your config.exs file.
replacement_file: "lib/replacements.exs",
separator_char: ?-,
],
]
end
defp deps() do
[
{:ex_doc, "~> 0.16.1", only: :dev},
{:benchfella, "~> 0.3.0", only: :dev},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:poison, "~> 3.0", only: [:dev, :test]},
{:credo, "~> 0.8", only: [:dev, :test], runtime: false}
]
end
end