forked from Wandalen/wTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwill.yml
361 lines (357 loc) · 9.07 KB
/
will.yml
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
about:
name: wTools
description: >-
Collection of general purpose tools for solving problems. Fundamentally
extend the language without spoiling, so may be used solely or in
conjunction with another module of such kind.
version: 0.9.3
enabled: 1
license: MIT
npm.name: wTools
author: Kostiantyn Wandalen <[email protected]>
keywords:
- base
- basic
- core
- platform
- tools
- wTools
- wBase
- generic
contributors:
- Kostiantyn Wandalen <[email protected]>
- Volodymyr M. <[email protected]>
- Ihor O. <[email protected]>
- Pablo Garcimartin <[email protected]>
- Dmytro Kryvoruchko <[email protected]>
interpreters:
- njs >= 10.0.0
- chrome >= 60.0.0
- firefox >= 60.0.0
npm.scripts:
test: 'wtest .run "proto/**" rapidity:-1'
docgen: wdocgen proto
build:
publish.npm:
criterion:
default: 1
publish: 1
bump: patch
steps:
- publish.npm
- reflect.package
publish.rust:
criterion:
publish: 1
steps:
- publish.rust
build:
criterion:
debug:
- debug
- release
tests: no.tests
steps:
- 'step::clean.out.build.*=1'
- 'step::transpile.build.proto.*=1'
- 'step::reflect.module.files.*=1'
- 'step::npm.build.*=1'
build.release.min:
steps:
- 'step::clean.release.min'
- 'step::transpile.build.release.min'
- 'step::reflect.release.min.files'
- 'step::npm.release.min'
build.tests:
criterion:
debug:
- debug
- release
tests: only.tests
steps:
- 'step::clean.out.build.*=1'
- 'step::transpile.build.proto.*=1'
- 'step::reflect.compiled.*=1'
- 'step::transpile.build.tests.*=1'
- 'step::reflect.module.files.*=1'
proto.export:
criterion:
content: proto
export: 1
steps:
- 'step::proto.export'
export:
criterion:
default: 1
export: 1
steps:
- 'build::proto.export'
reflect.rust.modules:
steps:
- 'step::clean.out.rust'
- 'step::reflect.rust.modules'
path:
repository: 'git+https:///github.com/Wandalen/wTools.git'
origins:
- 'git+https:///github.com/Wandalen/wTools.git'
- 'npm:///wTools'
bugtracker: 'https:///github.com/Wandalen/wTools/issues'
in: .
out: out
temp:
- 'path::out'
- package-lock.json
- package.json
- node_modules
- target
proto: ./proto
export: '{path::proto}/**'
doc: ./doc
step: ./step
out.build.debug.no.test:
path: '{path::out}/debug'
criterion:
debug: debug
tests: no.tests
out.build.release.no.test:
path: '{path::out}/release'
criterion:
debug: release
tests: no.tests
out.build.debug.only.test:
path: '{path::out}/debug.test'
criterion:
debug: debug
tests: only.tests
out.build.release.only.test:
path: '{path::out}/release.test'
criterion:
debug: release
tests: only.tests
out.release.min:
path: '{path::out}/release.min'
npm.publish: 'module/js/{about::name}'
npm.proto.entry:
- proto/wtools/abase/l1/Include.s
- proto/node_modules/wTools
entry: proto/node_modules/wTools
npm.files:
- proto/wtools/abase/l0/l0
- proto/wtools/abase/l0/l1
- proto/wtools/abase/l0/l2
- proto/wtools/abase/l0/l3
- proto/wtools/abase/l0/l4
- proto/wtools/abase/l0/l5
- proto/wtools/abase/l0/l6
- proto/wtools/abase/l0/l7
- proto/wtools/abase/l0/l8
- proto/wtools/abase/l0/l9
- proto/wtools/abase/l0/Include.s
- proto/wtools/abase/l0/Include1.s
- proto/wtools/abase/l0/Include3.s
- proto/wtools/abase/l0/Include5.s
- proto/wtools/abase/l0/Include7.s
- proto/wtools/abase/l1
- proto/node_modules
- out/wTools.out.will.yml
- proto/node_modules/Tools
- proto/node_modules/wTools
- proto/node_modules/wTools.l1
- proto/node_modules/wTools.l3
- proto/node_modules/wTools.l5
- proto/node_modules/wTools.l7
out.rust: '{path::out}/rust'
reflector:
transpile.reflect.proto:
inherit: predefined.*
criterion:
debug:
- debug
- release
tests:
- no.tests
- only.tests
filePath:
'**.test*': 0
'**.test/**': 0
'{path::proto}/**': '{path::out.build.*=1}/Main.s'
transpile.reflect.release.min:
inherit: predefined.*
filePath:
'**.test*': 0
'**.test/**': 0
'{path::proto}/**': '{path::out.release.min}/Main.s'
transpile.reflect.tests:
inherit: predefined.*
criterion:
debug:
- debug
- release
tests: only.tests
filePath:
'**.test*': 1
'{path::proto}/**': '{path::out.build*=1}/Tests.test.s'
reflect.module.files:
inherit: predefined.*
criterion:
debug:
- debug
- release
tests:
- no.tests
- only.tests
filePath:
'{path::in}/License': '{path::out.build.*=1}/License'
'{path::in}/Readme.md': '{path::out.build.*=1}/Readme.md'
reflect.release.min.files:
filePath:
'{path::in}/License': '{path::out.release.min}/License'
'{path::in}/Readme.md': '{path::out.release.min}/Readme.md'
reflect.compiled.debug:
inherit: predefined.*
criterion:
debug: debug
filePath:
'{path::out.build.debug.no.test}/Main.s': '{path::out.build.debug.only.test}/Main.s'
reflect.compiled.release:
inherit: predefined.*
criterion:
debug: release
filePath:
'{path::out.build.release.no.test}/Main.s': '{path::out.build.release.only.test}/Main.s'
reflect.rust.modules:
inherit: predefined.*
filePath:
'module/rust/former_runtime': '{path::out.rust}/former_runtime'
'rust/former/runtime': '{path::out.rust}/former_runtime/rust/former/runtime'
'module/rust/former_meta': '{path::out.rust}/former_meta'
'rust/former/derive': '{path::out.rust}/former_meta/rust/former/derive'
'module/rust/former': '{path::out.rust}/former'
reflect.package:
filePath:
'{path::npm.publish}/package.json': '{path::in}/package.json'
'{path::npm.publish}/was.package.json': '{path::in}/was.package.json'
'rust/former/mod.rs' : '{path::out.rust}/former/rust/former/mod.rs'
# dstRewritingOnlyPreserving: 0
step:
transpile.build.proto.debug:
inherit: files.transpile
filePath: 'reflector::transpile.reflect.proto.*=1'
entry: '{path::in}/proto/wtools/abase/l1/Include.s'
transpilingStrategy:
- Nop
optimization: 0
minification: 0
diagnosing: 0
beautifing: 0
criterion:
debug: debug
tests:
- no.tests
- only.tests
transpile.build.proto.release:
inherit: files.transpile
filePath: 'reflector::transpile.reflect.proto.*=1'
entry: '{path::in}/proto/wtools/abase/l1/Include.s'
transpilingStrategy:
- Uglify
optimization: 9
minification: 0
diagnosing: 0
beautifing: 0
criterion:
debug: release
tests:
- no.tests
- only.tests
transpile.build.release.min:
inherit: files.transpile
filePath: 'reflector::transpile.reflect.release.min'
entry: '{path::in}/proto/wtools/abase/l1/Include.s'
transpilingStrategy:
- Uglify
optimization: 9
minification: 9
diagnosing: 0
beautifing: 0
transpile.build.tests.debug:
inherit: files.transpile
filePath: 'reflector::transpile.reflect.tests.*=1'
transpilingStrategy:
- UglifyJs
optimization: 9
minification: 9
diagnosing: 0
beautifing: 0
criterion:
debug: debug
tests:
- no.tests
- only.tests
transpile.build.tests.release:
inherit: files.transpile
filePath: 'reflector::transpile.reflect.tests.*=1'
transpilingStrategy:
- UglifyJs
optimization: 9
minification: 9
diagnosing: 1
beautifing: 1
criterion:
debug: release
tests:
- no.tests
- only.tests
clean.out.build:
inherit: files.delete
filePath: '{path::out.build.*=1}'
criterion:
debug:
- debug
- release
tests:
- no.tests
- only.tests
clean.release.min:
inherit: files.delete
filePath: '{path::out.release.min}'
npm.build:
inherit: npm.generate
entryPath: '{path::out.build.*=1}/Main.s'
packagePath: '{path::out.build.*=1}/package.json'
criterion:
debug:
- debug
- release
tests:
- no.tests
- only.tests
npm.release.min:
inherit: npm.generate
entryPath: '{path::out.release.min}/Main.s'
packagePath: '{path::out.release.min}/package.json'
proto.export:
inherit: module.export
export: 'path::export'
tar: 0
criterion:
content: proto
publish.npm:
inherit: npm.publish
publish.rust :
currentPath : 'path::in'
shell : 'node {path::step}/RustPublish.s logger:3'
clean.out.rust:
inherit: files.delete
filePath: '{path::out.rust}'
submodule:
wTesting:
path: 'npm:///wTesting'
enabled: 0
criterion:
development: 1
eslint:
path: 'npm:///eslint!7.32.0'
enabled: 0
criterion:
development: 1