forked from andyl/phoenix_live_editable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
79 lines (71 loc) · 1.72 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
defmodule Phoenix.LiveEditable.MixProject do
use Mix.Project
def project do
[
app: :phoenix_live_editable,
version: "0.0.1-alpha.2",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
source_url: "https://github.com/andyl/phoenix_live_editable",
homepage_url: "https://phoenix-live-editable.fly.dev",
name: "Phoenix.LiveEditable",
description: "LiveView components for inline editing",
aliases: aliases(),
package: package(),
deps: deps(),
docs: docs()
]
end
def application do
[
mod: {Phoenix.LiveEditable.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:phoenix, "~> 1.7.0-rc.0", override: true},
{:ex_doc, "~> 0.29", only: :dev, runtime: false},
{:phoenix_pubsub, "~> 2.1"},
{:phoenix_html, "~> 3.2"},
{:phoenix_live_view, "~> 0.18"},
]
end
defp docs do
[
main: "readme",
extra_section: "GUIDES",
extras: extras()
]
end
defp extras do
[
"README.md",
"guides/installing.md",
"guides/using.md",
"guides/renderers.md",
"guides/handlers.md"
]
end
defp package do
[
maintainers: ["Andy Leak"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/andyl/phoenix_live_editable"
}
]
end
defp aliases do
[
setup: ["deps.get"]
]
end
end