forked from Ansvia/mainframe.rf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReframe.toml
83 lines (61 loc) · 1.63 KB
/
Reframe.toml
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
[reframe]
name = "Mainframe"
author = "r@nosql.asia"
min_version = "0.3.0"
[project]
name = "Mainframe"
version = "0.1.0"
ignore_dirs = [
"target",
"build",
".gradle"
]
ignore_files = [
".flutter-plugins",
".packages",
"*.iml"
]
finish_text = """Usage:
$ cd $name_kebab_case$
To test:
$ make test-env
$ make test
To run:
$ cp .env.example .env
$ make reset-db
$ cargo run --bin $name_snake_case$_server
"""
[[param]]
desc = { ask = "Description ?", default="My Mainframe project" }
[[param]]
service_name = { ask = "User/account management service name?", default="user" }
[[param]]
author_name = { ask = "Author name?", default="Robin" }
[[param]]
author_email = { ask = "Author email?", default="robin@mail.com" }
[[param]]
password_crypt_algo = { ask = "Password crypto algo?", default="bcrypt", options=["bcrypt", "sha256"] }
[[param]]
with_eventstream = { ask = "With Eventstream?", default="true" }
[[param]]
with_emailer = { ask = "With Emailer?", default="true" }
[[param]]
with_protobuf = { ask = "With Protobuf support?", default="false" }
[[param]]
with_webapp = { ask = "With web app frontends?", default="true" }
[[param]]
with_flutter = { ask = "With mobile Flutter frontends?", default="false" }
[[present]]
path = "frontends/$name_snake_case$_web"
if = "with_webapp"
[[present]]
path = "frontends/$name_snake_case$_mobile"
if = "with_flutter"
[[present]]
path = "src/protos"
if = "with_protobuf"
[[present]]
path = "src/emailer.rs"
if = "with_emailer"
[[post_generate]]
make_executable="frontends/$name_snake_case$_mobile/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh"