-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
62 lines (55 loc) · 1.36 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
62
defmodule Mudbrick.MixProject do
use Mix.Project
@scm_url "https://github.com/code-supply/mudbrick"
def project do
[
app: :mudbrick,
deps: deps(),
description: "PDF-2.0 generator",
dialyzer: dialyzer(),
elixir: "~> 1.17",
package: package(),
start_permanent: Mix.env() == :prod,
version: "0.8.1",
# Docs
source_url: @scm_url,
docs: [
main: "Mudbrick",
extras: ["README.md"],
assets: %{
"examples" => "examples"
}
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :xmerl]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.7.0", only: [:dev, :test]},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.21", only: [:dev], runtime: false},
{:ex_image_info, "~> 0.2"},
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false},
{:nimble_parsec, "~> 1.4", runtime: false, override: true},
{:opentype, "~> 0.5"},
{:stream_data, "~> 1.0", only: [:dev, :test]}
]
end
defp dialyzer do
[
plt_add_apps: [:nimble_parsec]
]
end
defp package do
[
links: %{"GitHub" => @scm_url},
licenses: ["MIT"]
]
end
end