-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
54 lines (47 loc) · 987 Bytes
/
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
defmodule Yestoday.MixProject do
use Mix.Project
@github_url "https://github.com/SanGeeky/YESTODAY"
@version "0.1.2"
def project do
[
app: :yestoday,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
description: description(),
source_url: @github_url,
package: package(),
docs: docs(),
deps: deps()
]
end
def application do
[]
end
defp deps do
[
{:ex_doc, "~> 0.27", only: :dev, runtime: false}
]
end
defp description do
"Simple API with random phrases of the song YESTODAY from NCT U."
end
defp package do
[
description: description(),
files: ["lib", "mix.exs", "README*", "LICENSE"],
licenses: ["MIT"],
links: %{
"GitHub" => @github_url
}
]
end
defp docs do
[
main: "readme",
name: "YESTODAY API",
source_ref: "v#{@version}",
source_url: @github_url
]
end
end