-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
91 lines (83 loc) · 2.02 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
defmodule Sleeky.MixProject do
use Mix.Project
@version "0.0.3"
def project do
[
app: :sleeky,
version: @version,
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(),
start_permanent: Mix.env() == :prod,
consolidate_protocols: Mix.env() != :test,
package: [
maintainers: [
"Pedro Gutiérrez"
],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/pedro-gutierrez/sleeky"},
files: ~w(lib mix.exs .formatter.exs LICENSE.md README.md),
description: "Minimalist Elixir application framework"
],
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :file_system]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:bandit, "~> 1.5"},
{:calendar, "~> 1.0"},
{:diesel, "~> 0.7"},
{:ecto, "~> 3.9"},
{:ecto_sql, "~> 3.9"},
{:estree, "~> 2.7"},
{:ex_doc, ">= 0.0.0"},
{:file_system, "~> 1.0"},
{:floki, "~> 0.34.0"},
{:inflex, "~> 2.0"},
{:jason, "~> 1.2"},
{:libgraph, "~> 0.16"},
{:oban, "~> 2.18"},
{:paginator, "~> 1.2.0"},
{:postgrex, ">= 0.0.0"},
{:plug, "~> 1.14"},
{:slugify, "~> 1.3"},
{:solid, "~> 0.15"},
{:validate, "~> 1.3"}
]
end
defp elixirc_paths do
case Mix.env() do
:test -> ["lib", "test/support"]
_env -> ["lib"]
end
end
defp docs do
[
source_ref: "v#{@version}",
main: "overview",
extra_section: "GUIDES",
extras: extras(),
groups_for_extras: groups_for_extras(),
formatters: ["html", "epub"]
]
end
defp extras do
[
"guides/introduction/overview.md",
"guides/introduction/installation.md",
"guides/introduction/add-to-existing-phoenix-project.md"
]
end
defp groups_for_extras do
[
Introduction: ~r/guides\/introduction\/.?/
]
end
end