-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwill.yml
338 lines (338 loc) · 7.74 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
about:
name: wConsequence
description: >-
Advanced synchronization mechanism. Asynchronous routines may use
Consequence to wrap postponed result, what allows classify callback for such
routines as output, not input, what improves analyzability of a program.
Consequence may be used to make a queue for mutually exclusive access to a
resource. Algorithmically speaking Consequence is 2 queues ( FIFO ) and a
customizable arbitrating algorithm. The first queue contains available
resources, the second queue includes competitors for this resources. At any
specific moment, one or another queue may be empty or full. Arbitrating
algorithm makes resource available for a competitor as soon as possible.
There are 2 kinds of resource: regular and erroneous. Unlike Promise,
Consequence is much more customizable and can solve engineering problem
which Promise cant. But have in mind with great power great responsibility
comes. Consequence can coexist and interact with a Promise, getting
fulfillment/rejection of a Promise or fulfilling it. Use Consequence to get
more flexibility and improve readability of asynchronous aspect of your
application.
version: 0.5.0
enabled: 1
license: MIT
npm.name: wConsequence
author: Kostiantyn Wandalen <[email protected]>
keywords:
- wTools
- Callback
- Event
- Signal
- Mutex
- Semaphore
- Async
- Promise
contributors:
- Kostiantyn Wandalen <[email protected]>
- Volodymyr M. <[email protected]>
- Ihor O. <[email protected]>
interpreters:
- njs >= 10.0.0
- chrome >= 60.0.0
- firefox >= 60.0.0
npm.scripts:
test: 'wtest .run proto/** rapidity:-3'
docgen: wdocgen .build proto
build:
proto.export:
criterion:
content: proto
export: 1
steps:
- 'step::proto.export'
doc.export:
criterion:
content: doc
export: 1
steps:
- 'step::doc.export'
export:
criterion:
default: 1
export: 1
steps:
- 'build::proto.export'
debug:
criterion:
default: 1
debug: debug
raw: raw
content: prime
steps:
- 'step::clean.out*=2'
- reflect.proto.*=1
compiled.debug:
criterion:
debug: debug
raw: compiled
content: prime
steps:
- 'step::clean.out*=2'
- transpile.proto.no.tests*=1
- transpile.proto.only.tests*=1
raw.release:
criterion:
debug: release
raw: raw
content: prime
steps:
- 'step::clean.out*=2'
- transpile.proto.raw
release:
criterion:
debug: release
raw: compiled
content: prime
steps:
- 'step::clean.out*=2'
- transpile.proto.no.tests*=1
- transpile.proto.only.tests*=1
npm:
criterion:
debug: debug
raw: raw
content: npm
steps:
- npm.generate.*=1
all:
steps:
- 'build::debug'
- 'build::compiled.debug'
- 'build::raw.release'
- 'build::release'
- 'build::npm'
path:
repository: 'git+https:///github.com/Wandalen/wConsequence.git'
origins:
- 'git+https:///github.com/Wandalen/wConsequence.git'
- 'npm:///wConsequence'
bugtracker: 'https:///github.com/Wandalen/wConsequence/issues'
in: .
out: out
temp:
- 'path::out'
- package-lock.json
- package.json
- node_modules
proto: ./proto
export: '{path::proto}/**'
doc: ./doc
out.raw.debug:
path: '{path::out}/debug'
criterion:
debug: debug
raw: raw
content: prime
out.compiled.debug:
path: '{path::out}/compiled.debug'
criterion:
debug: debug
raw: compiled
content: prime
out.raw.release:
path: '{path::out}/raw.release'
criterion:
debug: release
raw: raw
content: prime
out.compiled.release:
path: '{path::out}/release'
criterion:
debug: release
raw: compiled
content: prime
entry.proto.no.tests:
path: proto/wtools/abase/l9/consequence/Namespace.s
criterion:
tests: no.tests
entry.proto.only.tests:
path: proto/**/*.test.s
criterion:
tests: only.tests
entry.out.raw.debug:
path: '{path::out.*=1}/source/wtools/abase/l9/consequence/Namespace.s'
criterion:
debug:
- debug
- release
raw: raw
content: prime
entry.out.compiled.debug:
path: '{path::out.*=}/source/Index.s'
criterion:
debug:
- debug
- release
raw: compiled
content: prime
npm.proto.entry:
- proto/wtools/abase/l9/consequence/Namespace.s
- proto/node_modules/wConsequence
reflector:
reflect.proto:
inherit: predefined.*
criterion:
tests: no.tests
debug:
- debug
- release
raw:
- raw
- compiled
content: prime
filePath:
'path::proto': '{path::out.*=1}/source'
transpile.proto.raw:
inherit: predefined.*
step:
inherit: files.transpile
entry: 'path::entry.proto.no.tests'
criterion:
raw: raw
debug: release
content: prime
filePath:
'path::proto': '{path::out.raw.release}'
transpile.proto.no.tests.compiled:
inherit: predefined.*
step:
inherit: files.transpile
entry: 'path::entry.proto.*=1'
criterion:
tests: no.tests
raw: compiled
debug:
- debug
- release
content: prime
filePath:
'**.test*': 0
'**.test/**': 0
'path::proto': '{path::out.*=1}/Main.s'
transpile.proto.only.tests.compiled:
inherit: predefined.*
step:
inherit: files.transpile
entry: 'path::entry.proto.*=1'
external.before: '{path::out.*=1}/Main.s'
criterion:
tests: only.tests
raw: compiled
debug:
- debug
- release
content: prime
filePath:
'**.test*': 1
'path::proto': '{path::out.*=1}/Tests.test.s'
step:
proto.export:
inherit: module.export
export: 'path::export'
tar: 0
criterion:
content: proto
doc.export:
inherit: module.export
export: 'path::doc'
tar: 0
criterion:
content: doc
npm.export:
inherit: module.export
export: out.npm
tar: 0
criterion:
content: npm
npm.generate:
inherit: npm.generate
entryPath: 'path::entry.out.*=1'
packagePath: '{path::out.*=1}/package.json'
filesPath: '{path::out.*=1}/source/**'
criterion:
debug:
- debug
- release
raw:
- raw
- compiled
clean.out:
inherit: files.delete
filePath: '{path::out.*=1}/source'
criterion:
debug:
- debug
- release
raw:
- raw
- compiled
tests:
- no.tests
- only.tests
content:
- prime
- npm
clean.out.npm:
inherit: files.delete
filePath: 'path::out.*=1'
criterion:
debug: debug
raw: compiled
tests: no.tests
content: npm
tst.proto:
shell: 'tst {path::proto}'
criterion:
content: proto
tst.debug:
shell: 'tst {path::out.*=1}'
criterion:
content: prime
debug: debug
tst.release:
shell: 'tst {path::out.*=1}'
criterion:
content: prime
debug: release
submodule:
wTools:
path: 'npm:///wTools'
enabled: 0
wCopyable:
path: 'npm:///wCopyable'
enabled: 0
wProto:
path: 'npm:///wProto'
enabled: 0
wprocedure:
path: 'npm:///wprocedure'
enabled: 0
wConsequence:
path: 'hd://.'
enabled: 0
criterion:
development: 1
eslint:
path: 'npm:///eslint#7.1.0'
enabled: 0
criterion:
development: 1
wTesting:
path: 'npm:///wTesting'
enabled: 0
criterion:
development: 1
wdeasync:
path: 'npm:///wdeasync'
enabled: 0
criterion:
development: 1