This repository has been archived by the owner on May 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
mix.exs
61 lines (55 loc) · 1.35 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
defmodule PardallMarkdown.MixProject do
use Mix.Project
@url "https://github.com/alfredbaudisch/pardall_markdown"
@version "0.4.4"
def project do
[
app: :pardall_markdown,
name: "PardallMarkdown",
version: @version,
elixir: "~> 1.7",
compilers: Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
docs: docs(),
description:
"Reactive publishing framework, filesystem-based with support for Markdown, nested hierarchies, and instant content rebuilding. Written in Elixir."
]
end
def application do
[
mod: {PardallMarkdown.Application, []},
extra_applications: [:logger, :con_cache]
]
end
defp deps do
[
{:ecto_sql, "~> 3.7"},
{:floki, "~> 0.31.0"},
{:file_system, "~> 0.2"},
{:earmark, "~> 1.4"},
{:slugify, "~> 1.3"},
{:html_entities, "~> 0.5"},
{:con_cache, "~> 0.13"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:git_cli, "~> 0.3"},
]
end
defp package do
%{
licenses: ["Apache 2.0"],
maintainers: ["Alfred Reinold Baudisch"],
links: %{"GitHub" => @url}
}
end
defp docs do
[
extras: ["README.md"],
main: "readme",
source_url: @url,
source_ref: @version,
formatters: ["html"]
]
end
end