-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
87 lines (79 loc) · 2.45 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
defmodule LastfmArchive.MixProject do
use Mix.Project
@description """
A tool for extracting and archiving Last.fm music listening data - scrobbles.
"""
def project do
[
app: :lastfm_archive,
version: "1.2.1",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
# Docs
name: "lastfm_archive",
description: @description,
package: package(),
source_url: "https://github.com/boonious/lastfm_archive",
homepage_url: "https://github.com/boonious/lastfm_archive",
docs: [
main: "readme",
extras: [
"README.md",
"CHANGELOG.md",
"livebook/setup.livemd": [title: "Setup, installation"],
"livebook/archiving.livemd": [title: "Creating a file archive"],
"livebook/transforming.livemd": [title: "Columnar data transforms"],
"livebook/facets.livemd": [title: "Facets archiving"]
],
groups_for_extras: [
Guides: 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],
mod: {LastfmArchive.Application, []}
]
end
defp deps do
[
{:castore, "~> 1.0"},
{:elixir_uuid, "~> 1.2"},
{:explorer, "~> 0.7"},
{:hui, "0.10.4"},
{:jason, "~> 1.4"},
{:kino, "~> 0.10.0"},
{:kino_vega_lite, "~> 0.1.9"},
{:typed_struct, "~> 0.3.0"},
{:vega_lite, "~> 0.1.7"},
# test and dev only
{:bypass, "~> 2.1", only: :test},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.16", only: :test},
{:ex_doc, "~> 0.30", only: :dev, runtime: false},
{:ex_machina, "~> 2.7", only: :test},
{:hammox, "~> 0.7", only: :test}
]
end
defp package do
[
name: "lastfm_archive",
maintainers: ["Boon Low"],
licenses: ["Apache 2.0"],
links: %{
Changelog: "https://github.com/boonious/lastfm_archive/blob/master/CHANGELOG.md",
GitHub: "https://github.com/boonious/lastfm_archive"
}
]
end
end