-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
104 lines (101 loc) · 3.43 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
defmodule Banking.MixProject do
use Mix.Project
def project do
[
apps_path: "apps",
start_permanent: Mix.env() == :prod,
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
test_coverage: [tool: ExCoveralls],
deps: deps(),
# Docs
name: "banking",
source_url: "https://github.com/mbenatti/",
homepage_url: "https://github.com/mbenatti/",
docs: [
# The main page in the docs
main: "readme",
logo: "assets/bank.png",
assets: "assets",
extras: [
"README.md",
"apps/accounts/ACCOUNTS.md",
"apps/api/API.md",
"apps/backoffice/BACKOFFICE.md",
"apps/email/EMAIL.md",
"apps/model/MODEL.md"
],
groups_for_modules: [
API: [
Banking.APIWeb.AccountController,
Banking.APIWeb.AuthController,
Banking.APIWeb.BackofficeController,
Banking.APIWeb.TransactionController,
Banking.APIWeb,
Banking.APIWeb.Router.Helpers
],
PLUGS: [
Banking.APIWeb.Plugs.CurrentClient,
Banking.APIWeb.Plugs.GuardianErrorHandler,
Banking.APIWeb.Pipeline.Auth,
Banking.APIWeb.Guardian.Plug
],
ACCOUNTS: [Banking.Accounts.Auth, Banking.Accounts.Register],
ACCOUNTS_TRANSACTION: [
Banking.Accounts.Utils,
Banking.Accounts.Transactions.Deposit,
Banking.Accounts.Transactions.Withdrawal,
Banking.Accounts.Transactions.Transfer,
Banking.Accounts.Transactions.Statement
],
BACKOFFICE: [Banking.Backoffice.Reports],
EMAIL: [Banking.Email.WithdrawalEmail],
MODEL_ACCOUNTS: [
Banking.Model.Accounts.AccountLoader,
Banking.Model.Accounts.AccountMutator,
Banking.Model.Accounts.AccountQueries,
Banking.Model.Accounts.AccountSchema
],
MODEL_BALANCES: [
Banking.Model.Balances.EventLoader,
Banking.Model.Balances.EventMutator,
Banking.Model.Balances.EventQueries,
Banking.Model.Balances.EventSchema
],
MODEL_TRADES: [
Banking.Model.Trades.TradeLoader,
Banking.Model.Trades.TradeMutator,
Banking.Model.Trades.TradeQueries,
Banking.Model.Trades.TradeSchema
],
ENUMS: [
Banking.Model.Enums.BankOperationEnum,
Banking.Model.Enums.BankOperationEnum.Type,
Banking.Model.Enums.BankOperationEnum.Type.Deposit,
Banking.Model.Enums.BankOperationEnum.Type.Withdrawal,
Banking.Model.Enums.BankOperationEnum.Type.TransferIssued,
Banking.Model.Enums.BankOperationEnum.Type.TransferReceived
]
]
]
]
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, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev], runtime: false},
{:ex_doc, "~> 0.19", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.10", only: [:dev, :test]},
{:timber, "~> 3.1"}
]
end
end