-
Notifications
You must be signed in to change notification settings - Fork 10
/
mix.exs
45 lines (40 loc) · 929 Bytes
/
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
defmodule Slug.Mixfile do
use Mix.Project
@version "1.3.1"
@repo_url "https://github.com/jayjun/slugify"
def project do
[
app: :slugify,
version: @version,
elixir: "~> 1.8",
name: "Slugify",
description: "Transform strings from any language to slugs for URLs, filenames or fun",
deps: deps(),
package: package(),
docs: [
source_ref: @version,
source_url: @repo_url,
main: "Slug",
api_reference: false,
extra_section: []
]
]
end
def application do
[extra_applications: []]
end
defp deps do
[
{:jason, "~> 1.0", only: [:dev, :test, :docs]},
{:ex_doc, "~> 0.22", only: :docs}
]
end
defp package do
[
files: ["lib/slug.ex", "priv", "mix.exs", "README.md"],
maintainers: ["Tan Jay Jun"],
licenses: ["MIT"],
links: %{"GitHub" => @repo_url}
]
end
end