-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
71 lines (68 loc) · 1.79 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 EWallet.Umbrella.Mixfile do
use Mix.Project
def project do
[
apps_path: "apps",
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
deps: deps(),
aliases: aliases(),
docs: [
main: "introduction",
extra_section: "Guides",
extras: [
{"README.md", [filename: "introduction", title: "Introduction"]},
"docs/balances.md",
],
groups_for_extras: [
"Getting Started": ["README.md"],
"Entities": ["docs/balances.md"],
],
groups_for_modules: [
"EWallet": ~r/EWallet(\..+)*$/,
"EWallet API": ~r/EWalletAPI(?!\.V\d+)(\..+)*$/,
"EWallet API V1": ~r/EWalletAPI.V1(\..+)*$/,
"EWallet DB": ~r/EWalletDB(\..+)*$/,
"Admin API": ~r/AdminAPI(?!\.V\d+)(\..+)*$/,
"Admin API V1": ~r/AdminAPI.V1(\..+)*$/,
],
],
]
end
# Dependencies listed here are available only for this
# project and cannot be accessed from applications inside
# the apps folder.
#
# Run "mix help deps" for examples and options.
defp deps do
[
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
{:excoveralls, "~> 0.8", only: :test, runtime: false}
]
end
# Aliases for easier command executions
def aliases do
[
init: [
"ecto.create",
"ecto.migrate",
"seed",
],
reset: [
"ecto.drop",
"init",
"seed",
],
seed: [
"run apps/ewallet/priv/repo/seeder.exs"
]
]
end
end