-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
74 lines (66 loc) · 1.73 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
defmodule Coda.MixProject do
use Mix.Project
@description """
Analytics and visualisation of Lastfm music listening history 听歌历史.
"""
def project do
[
app: :coda,
version: "0.3.0",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
# Docs
name: "coda",
description: @description,
package: package(),
source_url: "https://github.com/boonious/coda",
homepage_url: "https://github.com/boonious/coda",
docs: [
main: "readme",
extras: [
"README.md",
"CHANGELOG.md",
"livebook/on_this_day.livemd": [title: "On this day ♫"]
],
groups_for_extras: [
Analytics: Path.wildcard("livebook/*.livemd")
],
assets: "assets",
source_ref: "master"
]
]
end
defp elixirc_paths(:test), do: ["test/support", "test/fixtures", "lib"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:lastfm_archive, "~> 1.2"},
{:explorer, "~> 0.7"},
{:kino, "0.10.0"},
{:kino_vega_lite, "~> 0.1.10"},
# test and dev only
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.30", only: :dev, runtime: false},
{:ex_machina, "~> 2.7", only: :test},
{:hammox, "~> 0.7", only: :test}
]
end
defp package do
[
name: "coda",
maintainers: ["Boon Low"],
licenses: ["Apache 2.0"],
links: %{
Changelog: "https://github.com/boonious/coda/blob/master/CHANGELOG.md",
GitHub: "https://github.com/boonious/coda"
}
]
end
end