forked from anoma/anoma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
71 lines (65 loc) · 1.59 KB
/
mix.exs
File metadata and controls
71 lines (65 loc) · 1.59 KB
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 AnomaNode.MixProject do
use Mix.Project
def version do
{ver, _} = Code.eval_file("version.exs")
ver
end
def project do
[
app: :anoma_node,
version: version(),
build_path: "_build",
config_path: "config/config.exs",
dialyzer: [
plt_local_path: "plts/anoma.plt",
plt_core_path: "plts/core.plt",
flags: [
# Turn off the warning for improper lists, because we use
# bare cons frequently and deliberately.
"-Wno_improper_lists"
],
plt_add_apps: [:mix, :ex_unit, :mnesia]
],
deps_path: "deps",
lockfile: "mix.lock",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps()
]
end
def package do
[
maintainers: ["Mariari", " Raymond E. Pasco"],
name: :anoma_node,
licenses: ["MIT"]
]
end
# Run "mix help compile.app" to learn about applications.
# note: included_applications do *not* get started automatically
# extra_applications do get started automatically
# mnesia should *not* be started automatically
def application do
[
mod: {Anoma.Node, []},
extra_applications: [
:crypto,
:debugger,
:enacl,
:logger,
:runtime_tools,
:tools,
:ex_unit
],
included_applications: [:mnesia]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[] ++ global_deps()
end
def global_deps do
{list, _} = Code.eval_file("global_deps.exs")
list
end
end