-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
71 lines (66 loc) · 1.99 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
defmodule RAP.MixProject do
use Mix.Project
def project do
[
app: :rap,
version: "0.1.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: :apps_direct,
plt_add_apps: [:amnesia, :eex, :exquisite, :mnesia, :tesla]#,
#plt_ignore_apps: [:amnesia]
#plt_add_apps: [:grax, :rdf, :mnesia, :gen_stage, :google_api_storage,
]
]
end
# Run "mix help compile.app" to learn about applications.
#
def application do
[
extra_applications: [:logger, :grax],
mod: {RAP.Application, []},
env: [
interval_seconds: 300,
index_file: ".index",
local_directory: "/var/db/saved",
cache_directory: "./data_cache",
bakery_directory: "./bakery",
linked_result_stem: "processed",
result_stem: "result",
time_zone: "GB-Eire",
rap_uri_prefix: "/saved/rap",
rap_style_sheet: "/saved/assets/rap.css", # Imports fira.css
rap_js_lib_plotly: "/saved/assets/plotly-2.32.0.min.js",
rap_js_lib_d3: "/saved/assets/d3.v7.min.js",
html_directory: "./html_fragments",
ets_table: :uuid
]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{ :amnesia, "~> 0.2.8" },
{ :gen_stage, "~> 1.2" },
{ :google_api_storage, "~> 0.37" },
{ :goth, "~> 1.4" },
{ :grax, "~> 0.4" },
{ :math, "~> 0.7" },
{ :rdf, "~> 1.2" },
{ :uuid, "~> 1.1.8" },
{ :zoneinfo, "~> 0.1.0" },
{ :dialyxir, "~> 1.4", only: [:dev, :test], runtime: false }
# {:explorer, "~> 0.8"},
# {:nx, "~> 0.7"}
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE", "config", "priv", "test"],
maintainers: ["Duncan Guthrie"],
licenses: [" AGPL-3.0-or-later"]
]
end
end