-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
57 lines (50 loc) · 1.17 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
defmodule LiveBulkAsync.MixProject do
@moduledoc false
use Mix.Project
@app :live_bulk_async
@name "LiveBulkAsync"
@description "LiveBulkAsync is a small library that extends LiveView's async support to work with LiveComponent's `update_many` function"
@version "0.1.0"
@github "https://github.com/sezaru/#{@app}"
@author "Eduardo Barreto Alexandre"
@license "MIT"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.18",
name: @name,
description: @description,
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
def application, do: [extra_applications: [:logger]]
defp deps do
[
{:phoenix_live_view, "~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp docs do
[
main: "readme",
source_ref: "v#{@version}",
source_url: @github,
extras: [
"README.md"
]
]
end
defp package do
[
name: @app,
maintainers: [@author],
licenses: [@license],
links: %{"Github" => @github},
files: ~w(lib README.md LICENSE mix.exs)
]
end
end