-
Notifications
You must be signed in to change notification settings - Fork 29
/
mix.exs
51 lines (45 loc) · 991 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
46
47
48
49
50
51
defmodule NimblePublisher.MixProject do
use Mix.Project
@version "1.1.0"
@url "https://github.com/dashbitco/nimble_publisher"
def project do
[
app: :nimble_publisher,
version: @version,
elixir: "~> 1.7",
name: "NimblePublisher",
description:
"A minimal filesystem-based publishing engine with Markdown support and code highlighting",
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:earmark, "~> 1.4"},
{:makeup, "~> 1.0"},
{:ex_doc, "~> 0.21", only: :docs},
{:makeup_elixir, ">= 0.0.0", only: [:test, :docs]}
]
end
defp docs do
[
main: "NimblePublisher",
source_ref: "v#{@version}",
source_url: @url
]
end
defp package do
%{
licenses: ["Apache-2.0"],
maintainers: ["José Valim"],
links: %{"GitHub" => @url}
}
end
end