-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
61 lines (54 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
defmodule Fireside.MixProject do
use Mix.Project
@source_url "https://github.com/ibarakaiev/fireside"
@version "0.1.4"
@description """
Fireside is a small Elixir library that allows importing code components (templates) into an existing Elixir project together with their dependencies. It also allows upgrading these components if they have a newer version available.
"""
def project do
[
app: :fireside,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
description: @description,
source_url: @source_url,
package: package(),
docs: docs(),
deps: deps()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp docs do
[
main: "readme",
logo: "logos/logo-256.png",
extras: [
{"README.md", title: "Overview"},
"documentation/creating-components.md",
{"CHANGELOG.md", title: "Changelog"}
]
]
end
defp package do
[
name: :fireside,
licenses: ["MIT"],
files: ~w(lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*),
links: %{
GitHub: @source_url
}
]
end
defp deps do
[
{:igniter, "~> 0.3"},
{:ex_doc, "~> 0.32", only: [:dev, :test], runtime: false},
{:styler, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
end