mrs-toolbox-cli 0.0.82 → 0.0.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mrs-toolbox-cli.js +61 -61
- package/mrs-toolbox-cli.js.hash +1 -1
- package/package.json +1 -1
- package/toolbox.js +240 -206
- package/toolbox.js.hash +1 -1
- package/toolbox.js.map +1 -1
- package/toolbox.js.map.hash +1 -1
package/toolbox.js
CHANGED
|
@@ -372,7 +372,8 @@
|
|
|
372
372
|
setMetadataFor(CommandExecutor$pullReferences$slambda, 'CommandExecutor$pullReferences$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
|
|
373
373
|
setMetadataFor(CommandExecutor, 'CommandExecutor', objectMeta);
|
|
374
374
|
setMetadataFor(S3Processor$uploadFolder$files$1, VOID, classMeta);
|
|
375
|
-
setMetadataFor($
|
|
375
|
+
setMetadataFor($uploadFilesCOROUTINE$16, '$uploadFilesCOROUTINE$16', classMeta, CoroutineImpl);
|
|
376
|
+
setMetadataFor($uploadFolderCOROUTINE$17, '$uploadFolderCOROUTINE$17', classMeta, CoroutineImpl);
|
|
376
377
|
setMetadataFor(S3Processor, 'S3Processor', classMeta, VOID, VOID, VOID, VOID, [3, 2]);
|
|
377
378
|
setMetadataFor(ConsoleTools$execute$output$1, VOID, classMeta);
|
|
378
379
|
setMetadataFor(ConsoleTools, 'ConsoleTools', objectMeta);
|
|
@@ -380,9 +381,9 @@
|
|
|
380
381
|
setMetadataFor(FileManager$findFiles$2, VOID, classMeta);
|
|
381
382
|
setMetadataFor(FileManager$copyDir$2, VOID, classMeta);
|
|
382
383
|
setMetadataFor(FileManager$getFileNames$2, VOID, classMeta);
|
|
383
|
-
setMetadataFor($findFilesCOROUTINE$
|
|
384
|
-
setMetadataFor($copyDirCOROUTINE$
|
|
385
|
-
setMetadataFor($getFileNamesCOROUTINE$
|
|
384
|
+
setMetadataFor($findFilesCOROUTINE$18, '$findFilesCOROUTINE$18', classMeta, CoroutineImpl);
|
|
385
|
+
setMetadataFor($copyDirCOROUTINE$20, '$copyDirCOROUTINE$20', classMeta, CoroutineImpl);
|
|
386
|
+
setMetadataFor($getFileNamesCOROUTINE$21, '$getFileNamesCOROUTINE$21', classMeta, CoroutineImpl);
|
|
386
387
|
setMetadataFor(FileManager, 'FileManager', objectMeta, VOID, VOID, VOID, VOID, [2, 1]);
|
|
387
388
|
setMetadataFor(JsonCommon, 'JsonCommon', objectMeta);
|
|
388
389
|
setMetadataFor(ZipArchiver$archive$archive$1$zlib$1, VOID, classMeta);
|
|
@@ -12998,7 +12999,7 @@
|
|
|
12998
12999
|
var tmp = this.jk_1;
|
|
12999
13000
|
switch (tmp) {
|
|
13000
13001
|
case 0:
|
|
13001
|
-
this.kk_1 =
|
|
13002
|
+
this.kk_1 = 10;
|
|
13002
13003
|
this.j61_1 = new S3Processor(this.f61_1, this.g61_1);
|
|
13003
13004
|
this.k61_1 = this.c61_1.q61(this.d61_1, this.i61_1);
|
|
13004
13005
|
this.l61_1 = listOf([FileManager_getInstance().b5b([this.d61_1, '../out/']), FileManager_getInstance().b5b([this.d61_1, '../out/functions/'])]);
|
|
@@ -13087,46 +13088,36 @@
|
|
|
13087
13088
|
case 6:
|
|
13088
13089
|
if (this.h61_1) {
|
|
13089
13090
|
this.jk_1 = 7;
|
|
13090
|
-
suspendResult = this.j61_1.
|
|
13091
|
+
suspendResult = this.j61_1.t61(listOf([FileManager_getInstance().b5b([this.m61_1, 'client.json']), FileManager_getInstance().b5b([this.m61_1, 'manifest.json']), FileManager_getInstance().b5b([this.m61_1, 'library.json'])]), VOID, VOID, this);
|
|
13091
13092
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13092
13093
|
return suspendResult;
|
|
13093
13094
|
}
|
|
13094
13095
|
continue $sm;
|
|
13095
13096
|
} else {
|
|
13096
|
-
this.jk_1 =
|
|
13097
|
+
this.jk_1 = 9;
|
|
13097
13098
|
continue $sm;
|
|
13098
13099
|
}
|
|
13099
13100
|
|
|
13100
13101
|
break;
|
|
13101
13102
|
case 7:
|
|
13102
|
-
;
|
|
13103
13103
|
this.jk_1 = 8;
|
|
13104
|
-
suspendResult = this.j61_1.
|
|
13104
|
+
suspendResult = this.j61_1.u61(FileManager_getInstance().b5b([this.m61_1, 'static']), VOID, this);
|
|
13105
13105
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13106
13106
|
return suspendResult;
|
|
13107
13107
|
}
|
|
13108
13108
|
|
|
13109
13109
|
continue $sm;
|
|
13110
13110
|
case 8:
|
|
13111
|
-
;
|
|
13112
13111
|
this.jk_1 = 9;
|
|
13113
|
-
suspendResult = this.j61_1.t61(FileManager_getInstance().b5b([this.m61_1, 'static']), VOID, this);
|
|
13114
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13115
|
-
return suspendResult;
|
|
13116
|
-
}
|
|
13117
|
-
|
|
13118
13112
|
continue $sm;
|
|
13119
13113
|
case 9:
|
|
13120
|
-
this.jk_1 = 10;
|
|
13121
|
-
continue $sm;
|
|
13122
|
-
case 10:
|
|
13123
13114
|
return Unit_getInstance();
|
|
13124
|
-
case
|
|
13115
|
+
case 10:
|
|
13125
13116
|
throw this.mk_1;
|
|
13126
13117
|
}
|
|
13127
13118
|
} catch ($p) {
|
|
13128
13119
|
var e = $p;
|
|
13129
|
-
if (this.kk_1 ===
|
|
13120
|
+
if (this.kk_1 === 10) {
|
|
13130
13121
|
throw e;
|
|
13131
13122
|
} else {
|
|
13132
13123
|
this.jk_1 = this.kk_1;
|
|
@@ -13177,7 +13168,7 @@
|
|
|
13177
13168
|
tmp.mk_1 = null;
|
|
13178
13169
|
return tmp.sk();
|
|
13179
13170
|
};
|
|
13180
|
-
protoOf(JsonHelper).
|
|
13171
|
+
protoOf(JsonHelper).v61 = function (srcPath, mapper, config, cwd, autoUpdate, version, $completion) {
|
|
13181
13172
|
var tmp = new $exportCOROUTINE$15(this, srcPath, mapper, config, cwd, autoUpdate, version, $completion);
|
|
13182
13173
|
tmp.lk_1 = Unit_getInstance();
|
|
13183
13174
|
tmp.mk_1 = null;
|
|
@@ -13216,11 +13207,11 @@
|
|
|
13216
13207
|
return Unit_getInstance();
|
|
13217
13208
|
}
|
|
13218
13209
|
function CommandExecutor$auth$slambda($cwd, $config, $url, $email, $password, resultContinuation) {
|
|
13219
|
-
this.
|
|
13220
|
-
this.
|
|
13221
|
-
this.
|
|
13222
|
-
this.
|
|
13223
|
-
this.
|
|
13210
|
+
this.e62_1 = $cwd;
|
|
13211
|
+
this.f62_1 = $config;
|
|
13212
|
+
this.g62_1 = $url;
|
|
13213
|
+
this.h62_1 = $email;
|
|
13214
|
+
this.i62_1 = $password;
|
|
13224
13215
|
CoroutineImpl.call(this, resultContinuation);
|
|
13225
13216
|
}
|
|
13226
13217
|
protoOf(CommandExecutor$auth$slambda).a1d = function ($this$promise, $completion) {
|
|
@@ -13241,12 +13232,12 @@
|
|
|
13241
13232
|
case 0:
|
|
13242
13233
|
this.kk_1 = 3;
|
|
13243
13234
|
this.kk_1 = 2;
|
|
13244
|
-
this.
|
|
13235
|
+
this.k62_1 = ConfigProcessor_getInstance().c60(this.e62_1, this.f62_1);
|
|
13245
13236
|
var tmp_0 = this;
|
|
13246
|
-
var tmp0_elvis_lhs = this.
|
|
13247
|
-
tmp_0.
|
|
13237
|
+
var tmp0_elvis_lhs = this.g62_1;
|
|
13238
|
+
tmp_0.l62_1 = tmp0_elvis_lhs == null ? CommandExecutor_getInstance().setUrl(this.k62_1) : tmp0_elvis_lhs;
|
|
13248
13239
|
this.jk_1 = 1;
|
|
13249
|
-
suspendResult = Authorizer_getInstance().v5a(this.
|
|
13240
|
+
suspendResult = Authorizer_getInstance().v5a(this.h62_1, this.i62_1, this.l62_1, this);
|
|
13250
13241
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13251
13242
|
return suspendResult;
|
|
13252
13243
|
}
|
|
@@ -13254,15 +13245,15 @@
|
|
|
13254
13245
|
continue $sm;
|
|
13255
13246
|
case 1:
|
|
13256
13247
|
var tokens = suspendResult;
|
|
13257
|
-
this.
|
|
13258
|
-
this.
|
|
13248
|
+
this.k62_1.token = tokens.access_token;
|
|
13249
|
+
this.k62_1.refreshToken = tokens.refresh_token;
|
|
13259
13250
|
var tmp_1 = FileManager_getInstance();
|
|
13260
|
-
var tmp_2 = ConfigProcessor_getInstance().u5j(this.
|
|
13251
|
+
var tmp_2 = ConfigProcessor_getInstance().u5j(this.e62_1, this.f62_1);
|
|
13261
13252
|
var tmp3_stringify = JsonCommon_getInstance();
|
|
13262
13253
|
var tmp2_encodeToString = CommandExecutor_getInstance().json;
|
|
13263
13254
|
var tmp1_serializer = tmp2_encodeToString.w39();
|
|
13264
13255
|
var tmp0_cast = serializer(tmp1_serializer, createKType(getKClass(Config), arrayOf([]), false));
|
|
13265
|
-
tmp_1.c5b(tmp_2, tmp2_encodeToString.u39(isInterface(tmp0_cast, KSerializer) ? tmp0_cast : THROW_CCE(), this.
|
|
13256
|
+
tmp_1.c5b(tmp_2, tmp2_encodeToString.u39(isInterface(tmp0_cast, KSerializer) ? tmp0_cast : THROW_CCE(), this.k62_1));
|
|
13266
13257
|
CommandExecutor_getInstance().console.log('Authorization successful!');
|
|
13267
13258
|
this.kk_1 = 3;
|
|
13268
13259
|
this.jk_1 = 4;
|
|
@@ -13299,8 +13290,8 @@
|
|
|
13299
13290
|
while (true);
|
|
13300
13291
|
};
|
|
13301
13292
|
protoOf(CommandExecutor$auth$slambda).b1d = function ($this$promise, completion) {
|
|
13302
|
-
var i = new CommandExecutor$auth$slambda(this.
|
|
13303
|
-
i.
|
|
13293
|
+
var i = new CommandExecutor$auth$slambda(this.e62_1, this.f62_1, this.g62_1, this.h62_1, this.i62_1, completion);
|
|
13294
|
+
i.j62_1 = $this$promise;
|
|
13304
13295
|
return i;
|
|
13305
13296
|
};
|
|
13306
13297
|
function CommandExecutor$auth$slambda_0($cwd, $config, $url, $email, $password, resultContinuation) {
|
|
@@ -13312,9 +13303,9 @@
|
|
|
13312
13303
|
return l;
|
|
13313
13304
|
}
|
|
13314
13305
|
function CommandExecutor$export$slambda($s3Processor, $isAutoUpdate, $version, resultContinuation) {
|
|
13315
|
-
this.
|
|
13316
|
-
this.
|
|
13317
|
-
this.
|
|
13306
|
+
this.u62_1 = $s3Processor;
|
|
13307
|
+
this.v62_1 = $isAutoUpdate;
|
|
13308
|
+
this.w62_1 = $version;
|
|
13318
13309
|
CoroutineImpl.call(this, resultContinuation);
|
|
13319
13310
|
}
|
|
13320
13311
|
protoOf(CommandExecutor$export$slambda).a1d = function ($this$promise, $completion) {
|
|
@@ -13336,7 +13327,7 @@
|
|
|
13336
13327
|
this.kk_1 = 3;
|
|
13337
13328
|
this.kk_1 = 2;
|
|
13338
13329
|
this.jk_1 = 1;
|
|
13339
|
-
suspendResult = this.
|
|
13330
|
+
suspendResult = this.u62_1.y62(this.v62_1._v, this.w62_1, this);
|
|
13340
13331
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13341
13332
|
return suspendResult;
|
|
13342
13333
|
}
|
|
@@ -13379,8 +13370,8 @@
|
|
|
13379
13370
|
while (true);
|
|
13380
13371
|
};
|
|
13381
13372
|
protoOf(CommandExecutor$export$slambda).b1d = function ($this$promise, completion) {
|
|
13382
|
-
var i = new CommandExecutor$export$slambda(this.
|
|
13383
|
-
i.
|
|
13373
|
+
var i = new CommandExecutor$export$slambda(this.u62_1, this.v62_1, this.w62_1, completion);
|
|
13374
|
+
i.x62_1 = $this$promise;
|
|
13384
13375
|
return i;
|
|
13385
13376
|
};
|
|
13386
13377
|
function CommandExecutor$export$slambda_0($s3Processor, $isAutoUpdate, $version, resultContinuation) {
|
|
@@ -13392,8 +13383,8 @@
|
|
|
13392
13383
|
return l;
|
|
13393
13384
|
}
|
|
13394
13385
|
function CommandExecutor$upload$slambda($cwd, $config, resultContinuation) {
|
|
13395
|
-
this.
|
|
13396
|
-
this.
|
|
13386
|
+
this.h63_1 = $cwd;
|
|
13387
|
+
this.i63_1 = $config;
|
|
13397
13388
|
CoroutineImpl.call(this, resultContinuation);
|
|
13398
13389
|
}
|
|
13399
13390
|
protoOf(CommandExecutor$upload$slambda).a1d = function ($this$promise, $completion) {
|
|
@@ -13412,110 +13403,90 @@
|
|
|
13412
13403
|
var tmp = this.jk_1;
|
|
13413
13404
|
switch (tmp) {
|
|
13414
13405
|
case 0:
|
|
13415
|
-
this.kk_1 =
|
|
13416
|
-
this.kk_1 =
|
|
13417
|
-
this.
|
|
13418
|
-
this.
|
|
13419
|
-
this.
|
|
13406
|
+
this.kk_1 = 6;
|
|
13407
|
+
this.kk_1 = 5;
|
|
13408
|
+
this.k63_1 = ConfigProcessor_getInstance().c60(this.h63_1, this.i63_1);
|
|
13409
|
+
this.l63_1 = new S3Processor(this.k63_1, this.h63_1);
|
|
13410
|
+
this.m63_1 = new Mapper(this.h63_1);
|
|
13420
13411
|
var tmp_0 = this;
|
|
13421
|
-
var tmp0_elvis_lhs = this.
|
|
13422
|
-
tmp_0.
|
|
13423
|
-
this.
|
|
13412
|
+
var tmp0_elvis_lhs = this.h63_1;
|
|
13413
|
+
tmp_0.n63_1 = tmp0_elvis_lhs == null ? process.cwd() : tmp0_elvis_lhs;
|
|
13414
|
+
this.m63_1.q63(this.k63_1);
|
|
13424
13415
|
this.jk_1 = 1;
|
|
13425
|
-
suspendResult = TemplateProcessor_getInstance().e5m(this.
|
|
13416
|
+
suspendResult = TemplateProcessor_getInstance().e5m(FileManager_getInstance().b5b([this.n63_1, Const_getInstance().v5j_1, 'doc_templates']), this.m63_1, this.l63_1, VOID, this);
|
|
13426
13417
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13427
13418
|
return suspendResult;
|
|
13428
13419
|
}
|
|
13429
13420
|
|
|
13430
13421
|
continue $sm;
|
|
13431
13422
|
case 1:
|
|
13432
|
-
this.
|
|
13423
|
+
this.o63_1 = suspendResult;
|
|
13433
13424
|
var tmp_1 = this;
|
|
13434
13425
|
var tmp3_parseObject = JsonCommon_getInstance();
|
|
13435
|
-
var tmp4_parseObject = FileManager_getInstance().i5d(
|
|
13426
|
+
var tmp4_parseObject = FileManager_getInstance().i5d(this.n63_1 + '/out/client.json');
|
|
13436
13427
|
var tmp2_decodeFromString = CommandExecutor_getInstance().json;
|
|
13437
13428
|
var tmp1_serializer = tmp2_decodeFromString.w39();
|
|
13438
13429
|
var tmp0_cast = serializer(tmp1_serializer, createKType(getKClass(ExportConfig), arrayOf([]), false));
|
|
13439
|
-
tmp_1.
|
|
13440
|
-
this.
|
|
13430
|
+
tmp_1.p63_1 = tmp2_decodeFromString.v39(isInterface(tmp0_cast, KSerializer) ? tmp0_cast : THROW_CCE(), tmp4_parseObject);
|
|
13431
|
+
this.p63_1.docTemplates = this.o63_1;
|
|
13441
13432
|
var tmp_2 = FileManager_getInstance();
|
|
13442
|
-
var tmp_3 = '' + this.
|
|
13433
|
+
var tmp_3 = '' + this.h63_1 + '/out/client.json';
|
|
13443
13434
|
var tmp8_stringify = JsonCommon_getInstance();
|
|
13444
13435
|
var tmp7_encodeToString = CommandExecutor_getInstance().json;
|
|
13445
13436
|
var tmp6_serializer = tmp7_encodeToString.w39();
|
|
13446
13437
|
var tmp5_cast = serializer(tmp6_serializer, createKType(getKClass(ExportConfig), arrayOf([]), false));
|
|
13447
|
-
tmp_2.
|
|
13438
|
+
tmp_2.r63(tmp_3, tmp7_encodeToString.u39(isInterface(tmp5_cast, KSerializer) ? tmp5_cast : THROW_CCE(), this.p63_1), true);
|
|
13448
13439
|
this.jk_1 = 2;
|
|
13449
|
-
suspendResult = this.
|
|
13440
|
+
suspendResult = this.l63_1.t61(listOf([FileManager_getInstance().b5b([this.n63_1, 'out/client.json']), FileManager_getInstance().b5b([this.n63_1, 'out/manifest.json']), FileManager_getInstance().b5b([this.n63_1, 'out/library.json'])]), VOID, VOID, this);
|
|
13450
13441
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13451
13442
|
return suspendResult;
|
|
13452
13443
|
}
|
|
13453
13444
|
|
|
13454
13445
|
continue $sm;
|
|
13455
13446
|
case 2:
|
|
13456
|
-
;
|
|
13457
13447
|
this.jk_1 = 3;
|
|
13458
|
-
suspendResult = this.
|
|
13448
|
+
suspendResult = this.l63_1.t61(listOf([FileManager_getInstance().b5b([this.n63_1, 'out/private/references/items.j2']), FileManager_getInstance().b5b([this.n63_1, 'out/private/references/snapshot.j2'])]), VOID, 'private/references', this);
|
|
13459
13449
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13460
13450
|
return suspendResult;
|
|
13461
13451
|
}
|
|
13462
13452
|
|
|
13463
13453
|
continue $sm;
|
|
13464
13454
|
case 3:
|
|
13465
|
-
;
|
|
13466
13455
|
this.jk_1 = 4;
|
|
13467
|
-
suspendResult = this.
|
|
13456
|
+
suspendResult = this.l63_1.u61('' + this.h63_1 + '/out/static', VOID, this);
|
|
13468
13457
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13469
13458
|
return suspendResult;
|
|
13470
13459
|
}
|
|
13471
13460
|
|
|
13472
13461
|
continue $sm;
|
|
13473
13462
|
case 4:
|
|
13474
|
-
;
|
|
13475
|
-
this.jk_1 = 5;
|
|
13476
|
-
suspendResult = this.k63_1.a5c('' + this.g63_1 + '/out/private/references/snapshot.j2', VOID, 'private/references', this);
|
|
13477
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13478
|
-
return suspendResult;
|
|
13479
|
-
}
|
|
13480
|
-
|
|
13481
|
-
continue $sm;
|
|
13482
|
-
case 5:
|
|
13483
|
-
;
|
|
13484
|
-
this.jk_1 = 6;
|
|
13485
|
-
suspendResult = this.k63_1.t61('' + this.g63_1 + '/out/static', VOID, this);
|
|
13486
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13487
|
-
return suspendResult;
|
|
13488
|
-
}
|
|
13489
|
-
|
|
13490
|
-
continue $sm;
|
|
13491
|
-
case 6:
|
|
13492
13463
|
CommandExecutor_getInstance().console.log('Uploaded successfully!');
|
|
13493
|
-
this.kk_1 =
|
|
13494
|
-
this.jk_1 =
|
|
13464
|
+
this.kk_1 = 6;
|
|
13465
|
+
this.jk_1 = 7;
|
|
13495
13466
|
continue $sm;
|
|
13496
|
-
case
|
|
13497
|
-
this.kk_1 =
|
|
13467
|
+
case 5:
|
|
13468
|
+
this.kk_1 = 6;
|
|
13498
13469
|
var tmp_4 = this.mk_1;
|
|
13499
13470
|
if (tmp_4 instanceof Error) {
|
|
13500
13471
|
var e = this.mk_1;
|
|
13501
13472
|
var tmp1_this = CommandExecutor_getInstance().console.outputStream;
|
|
13502
13473
|
tmp1_this.stderr = tmp1_this.stderr + e.toString();
|
|
13503
|
-
this.jk_1 =
|
|
13474
|
+
this.jk_1 = 7;
|
|
13504
13475
|
continue $sm;
|
|
13505
13476
|
} else {
|
|
13506
13477
|
throw this.mk_1;
|
|
13507
13478
|
}
|
|
13508
13479
|
|
|
13509
13480
|
break;
|
|
13510
|
-
case
|
|
13481
|
+
case 6:
|
|
13511
13482
|
throw this.mk_1;
|
|
13512
|
-
case
|
|
13513
|
-
this.kk_1 =
|
|
13483
|
+
case 7:
|
|
13484
|
+
this.kk_1 = 6;
|
|
13514
13485
|
return Unit_getInstance();
|
|
13515
13486
|
}
|
|
13516
13487
|
} catch ($p) {
|
|
13517
13488
|
var e_0 = $p;
|
|
13518
|
-
if (this.kk_1 ===
|
|
13489
|
+
if (this.kk_1 === 6) {
|
|
13519
13490
|
throw e_0;
|
|
13520
13491
|
} else {
|
|
13521
13492
|
this.jk_1 = this.kk_1;
|
|
@@ -13525,8 +13496,8 @@
|
|
|
13525
13496
|
while (true);
|
|
13526
13497
|
};
|
|
13527
13498
|
protoOf(CommandExecutor$upload$slambda).b1d = function ($this$promise, completion) {
|
|
13528
|
-
var i = new CommandExecutor$upload$slambda(this.
|
|
13529
|
-
i.
|
|
13499
|
+
var i = new CommandExecutor$upload$slambda(this.h63_1, this.i63_1, completion);
|
|
13500
|
+
i.j63_1 = $this$promise;
|
|
13530
13501
|
return i;
|
|
13531
13502
|
};
|
|
13532
13503
|
function CommandExecutor$upload$slambda_0($cwd, $config, resultContinuation) {
|
|
@@ -13538,8 +13509,8 @@
|
|
|
13538
13509
|
return l;
|
|
13539
13510
|
}
|
|
13540
13511
|
function CommandExecutor$pullReferences$slambda($cwd, $config, resultContinuation) {
|
|
13541
|
-
this.
|
|
13542
|
-
this.
|
|
13512
|
+
this.a64_1 = $cwd;
|
|
13513
|
+
this.b64_1 = $config;
|
|
13543
13514
|
CoroutineImpl.call(this, resultContinuation);
|
|
13544
13515
|
}
|
|
13545
13516
|
protoOf(CommandExecutor$pullReferences$slambda).a1d = function ($this$launch, $completion) {
|
|
@@ -13559,15 +13530,15 @@
|
|
|
13559
13530
|
switch (tmp) {
|
|
13560
13531
|
case 0:
|
|
13561
13532
|
this.kk_1 = 2;
|
|
13562
|
-
this.
|
|
13563
|
-
this.
|
|
13564
|
-
if (this.
|
|
13533
|
+
this.d64_1 = ConfigProcessor_getInstance().c60(this.a64_1, this.b64_1);
|
|
13534
|
+
this.e64_1 = CommandExecutor_getInstance().setUrl(this.d64_1);
|
|
13535
|
+
if (this.d64_1.token == null) {
|
|
13565
13536
|
CommandExecutor_getInstance().console.error('Token is not specified, please authorize first!');
|
|
13566
13537
|
return Unit_getInstance();
|
|
13567
13538
|
}
|
|
13568
13539
|
|
|
13569
13540
|
this.jk_1 = 1;
|
|
13570
|
-
suspendResult = (new ReferencesProcessor(this.
|
|
13541
|
+
suspendResult = (new ReferencesProcessor(this.a64_1)).n5k(this.e64_1, this.d64_1, this);
|
|
13571
13542
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13572
13543
|
return suspendResult;
|
|
13573
13544
|
}
|
|
@@ -13591,8 +13562,8 @@
|
|
|
13591
13562
|
while (true);
|
|
13592
13563
|
};
|
|
13593
13564
|
protoOf(CommandExecutor$pullReferences$slambda).b1d = function ($this$launch, completion) {
|
|
13594
|
-
var i = new CommandExecutor$pullReferences$slambda(this.
|
|
13595
|
-
i.
|
|
13565
|
+
var i = new CommandExecutor$pullReferences$slambda(this.a64_1, this.b64_1, completion);
|
|
13566
|
+
i.c64_1 = $this$launch;
|
|
13596
13567
|
return i;
|
|
13597
13568
|
};
|
|
13598
13569
|
function CommandExecutor$pullReferences$slambda_0($cwd, $config, resultContinuation) {
|
|
@@ -13609,10 +13580,10 @@
|
|
|
13609
13580
|
var tmp = this;
|
|
13610
13581
|
tmp.e5a_1 = lazy_0(CommandExecutor$json$delegate$lambda);
|
|
13611
13582
|
}
|
|
13612
|
-
protoOf(CommandExecutor).
|
|
13583
|
+
protoOf(CommandExecutor).f64 = function (_set____db54di) {
|
|
13613
13584
|
this.console = _set____db54di;
|
|
13614
13585
|
};
|
|
13615
|
-
protoOf(CommandExecutor).
|
|
13586
|
+
protoOf(CommandExecutor).g64 = function () {
|
|
13616
13587
|
return this.console;
|
|
13617
13588
|
};
|
|
13618
13589
|
protoOf(CommandExecutor).z3y = function () {
|
|
@@ -13622,7 +13593,7 @@
|
|
|
13622
13593
|
tmp$ret$0 = this.e5a_1.y();
|
|
13623
13594
|
return tmp$ret$0;
|
|
13624
13595
|
};
|
|
13625
|
-
protoOf(CommandExecutor).
|
|
13596
|
+
protoOf(CommandExecutor).h64 = function (config) {
|
|
13626
13597
|
var tmp = Js_getInstance();
|
|
13627
13598
|
return HttpClient_0(tmp, CommandExecutor$httpClient$lambda_0);
|
|
13628
13599
|
};
|
|
@@ -13634,7 +13605,7 @@
|
|
|
13634
13605
|
tmp = config;
|
|
13635
13606
|
}
|
|
13636
13607
|
config = tmp;
|
|
13637
|
-
return this.
|
|
13608
|
+
return this.h64(config);
|
|
13638
13609
|
};
|
|
13639
13610
|
protoOf(CommandExecutor).setUrl = function (config) {
|
|
13640
13611
|
var tmp;
|
|
@@ -13659,7 +13630,7 @@
|
|
|
13659
13630
|
protoOf(CommandExecutor).test = function (cwd, config) {
|
|
13660
13631
|
var configEntity = ConfigProcessor_getInstance().c60(cwd, config);
|
|
13661
13632
|
var tmp;
|
|
13662
|
-
if (!JsonCommon_getInstance().
|
|
13633
|
+
if (!JsonCommon_getInstance().i64(configEntity.testsDirectory)) {
|
|
13663
13634
|
tmp = ensureNotNull(configEntity.testsDirectory);
|
|
13664
13635
|
} else {
|
|
13665
13636
|
tmp = 'tests';
|
|
@@ -13667,10 +13638,10 @@
|
|
|
13667
13638
|
var testDirPath = tmp;
|
|
13668
13639
|
(new TestRunner(cwd)).g5o(testDirPath);
|
|
13669
13640
|
};
|
|
13670
|
-
protoOf(CommandExecutor).
|
|
13641
|
+
protoOf(CommandExecutor).j64 = function (cwd, config) {
|
|
13671
13642
|
try {
|
|
13672
13643
|
var tmp0_elvis_lhs = cwd;
|
|
13673
|
-
var directory = tmp0_elvis_lhs == null ? FileManager_getInstance().
|
|
13644
|
+
var directory = tmp0_elvis_lhs == null ? FileManager_getInstance().k64() : tmp0_elvis_lhs;
|
|
13674
13645
|
EnvironmentCreator_getInstance().y5a(directory);
|
|
13675
13646
|
this.console.log('Environment prepared!');
|
|
13676
13647
|
} catch ($p) {
|
|
@@ -13685,13 +13656,13 @@
|
|
|
13685
13656
|
};
|
|
13686
13657
|
protoOf(CommandExecutor).prepare = function (cwd, config, $super) {
|
|
13687
13658
|
config = config === VOID ? null : config;
|
|
13688
|
-
return this.
|
|
13659
|
+
return this.j64(cwd, config);
|
|
13689
13660
|
};
|
|
13690
13661
|
protoOf(CommandExecutor).export = function (autoUpdate, cwd, config, version) {
|
|
13691
13662
|
var isAutoUpdate = {_v: autoUpdate};
|
|
13692
13663
|
var configEntity = ConfigProcessor_getInstance().c60(cwd, config);
|
|
13693
13664
|
var s3Processor = new S3Processor(configEntity, cwd);
|
|
13694
|
-
if (!JsonCommon_getInstance().
|
|
13665
|
+
if (!JsonCommon_getInstance().i64(configEntity.s3) ? !JsonCommon_getInstance().i64(ensureNotNull(configEntity.s3).autoUpdate) : false) {
|
|
13695
13666
|
isAutoUpdate._v = ensureNotNull(ensureNotNull(configEntity.s3).autoUpdate);
|
|
13696
13667
|
}
|
|
13697
13668
|
var tmp = GlobalScope_getInstance();
|
|
@@ -13720,16 +13691,68 @@
|
|
|
13720
13691
|
function S3Processor$uploadFolder$files$1() {
|
|
13721
13692
|
this.withFileTypes = true;
|
|
13722
13693
|
}
|
|
13723
|
-
protoOf(S3Processor$uploadFolder$files$1).
|
|
13694
|
+
protoOf(S3Processor$uploadFolder$files$1).l64 = function () {
|
|
13724
13695
|
return this.withFileTypes;
|
|
13725
13696
|
};
|
|
13726
|
-
function $
|
|
13697
|
+
function $uploadFilesCOROUTINE$16(_this__u8e3s4, paths, type, subDirs, resultContinuation) {
|
|
13698
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
13699
|
+
this.u64_1 = _this__u8e3s4;
|
|
13700
|
+
this.v64_1 = paths;
|
|
13701
|
+
this.w64_1 = type;
|
|
13702
|
+
this.x64_1 = subDirs;
|
|
13703
|
+
}
|
|
13704
|
+
protoOf($uploadFilesCOROUTINE$16).sk = function () {
|
|
13705
|
+
var suspendResult = this.lk_1;
|
|
13706
|
+
$sm: do
|
|
13707
|
+
try {
|
|
13708
|
+
var tmp = this.jk_1;
|
|
13709
|
+
switch (tmp) {
|
|
13710
|
+
case 0:
|
|
13711
|
+
this.kk_1 = 4;
|
|
13712
|
+
this.y64_1 = this.v64_1.f();
|
|
13713
|
+
this.jk_1 = 1;
|
|
13714
|
+
continue $sm;
|
|
13715
|
+
case 1:
|
|
13716
|
+
if (!this.y64_1.g()) {
|
|
13717
|
+
this.jk_1 = 3;
|
|
13718
|
+
continue $sm;
|
|
13719
|
+
}
|
|
13720
|
+
|
|
13721
|
+
this.z64_1 = this.y64_1.h();
|
|
13722
|
+
this.jk_1 = 2;
|
|
13723
|
+
suspendResult = this.u64_1.a65(this.z64_1, this.w64_1, this.x64_1, this);
|
|
13724
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13725
|
+
return suspendResult;
|
|
13726
|
+
}
|
|
13727
|
+
|
|
13728
|
+
continue $sm;
|
|
13729
|
+
case 2:
|
|
13730
|
+
;
|
|
13731
|
+
this.jk_1 = 1;
|
|
13732
|
+
continue $sm;
|
|
13733
|
+
case 3:
|
|
13734
|
+
return Unit_getInstance();
|
|
13735
|
+
case 4:
|
|
13736
|
+
throw this.mk_1;
|
|
13737
|
+
}
|
|
13738
|
+
} catch ($p) {
|
|
13739
|
+
var e = $p;
|
|
13740
|
+
if (this.kk_1 === 4) {
|
|
13741
|
+
throw e;
|
|
13742
|
+
} else {
|
|
13743
|
+
this.jk_1 = this.kk_1;
|
|
13744
|
+
this.mk_1 = e;
|
|
13745
|
+
}
|
|
13746
|
+
}
|
|
13747
|
+
while (true);
|
|
13748
|
+
};
|
|
13749
|
+
function $uploadFolderCOROUTINE$17(_this__u8e3s4, pathToFolder, subDirs, resultContinuation) {
|
|
13727
13750
|
CoroutineImpl.call(this, resultContinuation);
|
|
13728
|
-
this.
|
|
13729
|
-
this.
|
|
13730
|
-
this.
|
|
13751
|
+
this.j65_1 = _this__u8e3s4;
|
|
13752
|
+
this.k65_1 = pathToFolder;
|
|
13753
|
+
this.l65_1 = subDirs;
|
|
13731
13754
|
}
|
|
13732
|
-
protoOf($uploadFolderCOROUTINE$
|
|
13755
|
+
protoOf($uploadFolderCOROUTINE$17).sk = function () {
|
|
13733
13756
|
var suspendResult = this.lk_1;
|
|
13734
13757
|
$sm: do
|
|
13735
13758
|
try {
|
|
@@ -13737,10 +13760,10 @@
|
|
|
13737
13760
|
switch (tmp) {
|
|
13738
13761
|
case 0:
|
|
13739
13762
|
this.kk_1 = 8;
|
|
13740
|
-
if (FileManager_getInstance().u5b(this.
|
|
13763
|
+
if (FileManager_getInstance().u5b(this.k65_1)) {
|
|
13741
13764
|
this.jk_1 = 1;
|
|
13742
13765
|
var tmp_0 = new S3Processor$uploadFolder$files$1();
|
|
13743
|
-
suspendResult = readdir(this.
|
|
13766
|
+
suspendResult = readdir(this.k65_1, isObject(tmp_0) ? tmp_0 : THROW_CCE(), this);
|
|
13744
13767
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13745
13768
|
return suspendResult;
|
|
13746
13769
|
}
|
|
@@ -13752,37 +13775,37 @@
|
|
|
13752
13775
|
|
|
13753
13776
|
break;
|
|
13754
13777
|
case 1:
|
|
13755
|
-
this.
|
|
13756
|
-
this.
|
|
13778
|
+
this.m65_1 = suspendResult;
|
|
13779
|
+
this.n65_1 = arrayIterator(this.m65_1);
|
|
13757
13780
|
this.jk_1 = 2;
|
|
13758
13781
|
continue $sm;
|
|
13759
13782
|
case 2:
|
|
13760
|
-
if (!this.
|
|
13783
|
+
if (!this.n65_1.g()) {
|
|
13761
13784
|
this.jk_1 = 6;
|
|
13762
13785
|
continue $sm;
|
|
13763
13786
|
}
|
|
13764
13787
|
|
|
13765
|
-
this.
|
|
13766
|
-
this.
|
|
13788
|
+
this.o65_1 = this.n65_1.h();
|
|
13789
|
+
this.p65_1 = last(split_0(this.k65_1, ['/']));
|
|
13767
13790
|
var tmp_1 = this;
|
|
13768
13791
|
var tmp_2;
|
|
13769
|
-
if (!(this.
|
|
13770
|
-
tmp_2 = FileManager_getInstance().b5b([this.
|
|
13792
|
+
if (!(this.l65_1 == null)) {
|
|
13793
|
+
tmp_2 = FileManager_getInstance().b5b([this.l65_1, this.p65_1]);
|
|
13771
13794
|
} else {
|
|
13772
|
-
tmp_2 = this.
|
|
13795
|
+
tmp_2 = this.p65_1;
|
|
13773
13796
|
}
|
|
13774
13797
|
|
|
13775
|
-
tmp_1.
|
|
13776
|
-
if (this.
|
|
13798
|
+
tmp_1.p65_1 = tmp_2;
|
|
13799
|
+
if (this.o65_1.isDirectory()) {
|
|
13777
13800
|
this.jk_1 = 4;
|
|
13778
|
-
suspendResult = this.
|
|
13801
|
+
suspendResult = this.j65_1.q65(FileManager_getInstance().b5b([this.k65_1, this.o65_1.name]), this.p65_1, this);
|
|
13779
13802
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13780
13803
|
return suspendResult;
|
|
13781
13804
|
}
|
|
13782
13805
|
continue $sm;
|
|
13783
13806
|
} else {
|
|
13784
13807
|
this.jk_1 = 3;
|
|
13785
|
-
suspendResult = this.
|
|
13808
|
+
suspendResult = this.j65_1.a5c(FileManager_getInstance().b5b([this.k65_1, this.o65_1.name]), VOID, this.p65_1, this);
|
|
13786
13809
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13787
13810
|
return suspendResult;
|
|
13788
13811
|
}
|
|
@@ -13827,11 +13850,11 @@
|
|
|
13827
13850
|
var tmp0_elvis_lhs = cwd;
|
|
13828
13851
|
tmp.z5b_1 = tmp0_elvis_lhs == null ? process.cwd() : tmp0_elvis_lhs;
|
|
13829
13852
|
this.y5b_1 = config;
|
|
13830
|
-
if (!JsonCommon_getInstance().
|
|
13853
|
+
if (!JsonCommon_getInstance().i64(config.s3)) {
|
|
13831
13854
|
this.x5b_1 = ensureNotNull(config.s3);
|
|
13832
13855
|
}
|
|
13833
13856
|
}
|
|
13834
|
-
protoOf(S3Processor).
|
|
13857
|
+
protoOf(S3Processor).a65 = function (pathToFile, type, subDirs, $completion) {
|
|
13835
13858
|
try {
|
|
13836
13859
|
if (FileManager_getInstance().u5b(pathToFile)) {
|
|
13837
13860
|
var credentials = new S3Credentials(ensureNotNull(this.x5b_1).accessKeyId, ensureNotNull(this.x5b_1).secretAccessKey);
|
|
@@ -13888,29 +13911,40 @@
|
|
|
13888
13911
|
protoOf(S3Processor).a5c = function (pathToFile, type, subDirs, $completion, $super) {
|
|
13889
13912
|
type = type === VOID ? S3FileType_FILE_getInstance() : type;
|
|
13890
13913
|
subDirs = subDirs === VOID ? null : subDirs;
|
|
13891
|
-
return $super === VOID ? this.
|
|
13914
|
+
return $super === VOID ? this.a65(pathToFile, type, subDirs, $completion) : $super.a65.call(this, pathToFile, type, subDirs, $completion);
|
|
13915
|
+
};
|
|
13916
|
+
protoOf(S3Processor).r65 = function (paths, type, subDirs, $completion) {
|
|
13917
|
+
var tmp = new $uploadFilesCOROUTINE$16(this, paths, type, subDirs, $completion);
|
|
13918
|
+
tmp.lk_1 = Unit_getInstance();
|
|
13919
|
+
tmp.mk_1 = null;
|
|
13920
|
+
return tmp.sk();
|
|
13921
|
+
};
|
|
13922
|
+
protoOf(S3Processor).t61 = function (paths, type, subDirs, $completion, $super) {
|
|
13923
|
+
type = type === VOID ? S3FileType_FILE_getInstance() : type;
|
|
13924
|
+
subDirs = subDirs === VOID ? null : subDirs;
|
|
13925
|
+
return $super === VOID ? this.r65(paths, type, subDirs, $completion) : $super.r65.call(this, paths, type, subDirs, $completion);
|
|
13892
13926
|
};
|
|
13893
|
-
protoOf(S3Processor).
|
|
13894
|
-
var tmp = new $uploadFolderCOROUTINE$
|
|
13927
|
+
protoOf(S3Processor).q65 = function (pathToFolder, subDirs, $completion) {
|
|
13928
|
+
var tmp = new $uploadFolderCOROUTINE$17(this, pathToFolder, subDirs, $completion);
|
|
13895
13929
|
tmp.lk_1 = Unit_getInstance();
|
|
13896
13930
|
tmp.mk_1 = null;
|
|
13897
13931
|
return tmp.sk();
|
|
13898
13932
|
};
|
|
13899
|
-
protoOf(S3Processor).
|
|
13933
|
+
protoOf(S3Processor).u61 = function (pathToFolder, subDirs, $completion, $super) {
|
|
13900
13934
|
subDirs = subDirs === VOID ? null : subDirs;
|
|
13901
|
-
return $super === VOID ? this.
|
|
13935
|
+
return $super === VOID ? this.q65(pathToFolder, subDirs, $completion) : $super.q65.call(this, pathToFolder, subDirs, $completion);
|
|
13902
13936
|
};
|
|
13903
|
-
protoOf(S3Processor).
|
|
13937
|
+
protoOf(S3Processor).y62 = function (autoUpdate, version, $completion) {
|
|
13904
13938
|
var mapper = new Mapper(this.z5b_1);
|
|
13905
|
-
mapper.
|
|
13939
|
+
mapper.q63(this.y5b_1);
|
|
13906
13940
|
var filePathForSave = this.z5b_1 + '/' + Const_getInstance().v5j_1 + '/';
|
|
13907
|
-
var tmp0 = JsonHelper_getInstance().
|
|
13941
|
+
var tmp0 = JsonHelper_getInstance().v61(filePathForSave, mapper, this.y5b_1, this.z5b_1, autoUpdate, version, $completion);
|
|
13908
13942
|
return tmp0;
|
|
13909
13943
|
};
|
|
13910
13944
|
function ConsoleTools$execute$output$1($cwd) {
|
|
13911
13945
|
this.cwd = $cwd;
|
|
13912
13946
|
}
|
|
13913
|
-
protoOf(ConsoleTools$execute$output$1).
|
|
13947
|
+
protoOf(ConsoleTools$execute$output$1).s65 = function () {
|
|
13914
13948
|
return this.cwd;
|
|
13915
13949
|
};
|
|
13916
13950
|
function ConsoleTools() {
|
|
@@ -13928,30 +13962,30 @@
|
|
|
13928
13962
|
return ConsoleTools_instance;
|
|
13929
13963
|
}
|
|
13930
13964
|
function FileManager$mkDir$1() {
|
|
13931
|
-
this.
|
|
13965
|
+
this.t65_1 = true;
|
|
13932
13966
|
}
|
|
13933
13967
|
function FileManager$findFiles$2() {
|
|
13934
13968
|
this.withFileTypes = true;
|
|
13935
13969
|
}
|
|
13936
|
-
protoOf(FileManager$findFiles$2).
|
|
13970
|
+
protoOf(FileManager$findFiles$2).l64 = function () {
|
|
13937
13971
|
return this.withFileTypes;
|
|
13938
13972
|
};
|
|
13939
13973
|
function FileManager$copyDir$2() {
|
|
13940
13974
|
this.withFileTypes = true;
|
|
13941
13975
|
}
|
|
13942
|
-
protoOf(FileManager$copyDir$2).
|
|
13976
|
+
protoOf(FileManager$copyDir$2).l64 = function () {
|
|
13943
13977
|
return this.withFileTypes;
|
|
13944
13978
|
};
|
|
13945
13979
|
function FileManager$getFileNames$2() {
|
|
13946
|
-
this.
|
|
13980
|
+
this.u65_1 = false;
|
|
13947
13981
|
}
|
|
13948
|
-
function $findFilesCOROUTINE$
|
|
13982
|
+
function $findFilesCOROUTINE$18(_this__u8e3s4, fileMask, findDirectory, resultContinuation) {
|
|
13949
13983
|
CoroutineImpl.call(this, resultContinuation);
|
|
13950
|
-
this.
|
|
13951
|
-
this.
|
|
13952
|
-
this.
|
|
13984
|
+
this.d66_1 = _this__u8e3s4;
|
|
13985
|
+
this.e66_1 = fileMask;
|
|
13986
|
+
this.f66_1 = findDirectory;
|
|
13953
13987
|
}
|
|
13954
|
-
protoOf($findFilesCOROUTINE$
|
|
13988
|
+
protoOf($findFilesCOROUTINE$18).sk = function () {
|
|
13955
13989
|
var suspendResult = this.lk_1;
|
|
13956
13990
|
$sm: do
|
|
13957
13991
|
try {
|
|
@@ -13960,37 +13994,37 @@
|
|
|
13960
13994
|
case 0:
|
|
13961
13995
|
this.kk_1 = 6;
|
|
13962
13996
|
var tmp_0 = this;
|
|
13963
|
-
tmp_0.
|
|
13997
|
+
tmp_0.g66_1 = ArrayList_init_$Create$();
|
|
13964
13998
|
this.jk_1 = 1;
|
|
13965
13999
|
var tmp_1 = new FileManager$findFiles$2();
|
|
13966
|
-
suspendResult = readdir(this.
|
|
14000
|
+
suspendResult = readdir(this.f66_1, isObject(tmp_1) ? tmp_1 : THROW_CCE(), this);
|
|
13967
14001
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13968
14002
|
return suspendResult;
|
|
13969
14003
|
}
|
|
13970
14004
|
|
|
13971
14005
|
continue $sm;
|
|
13972
14006
|
case 1:
|
|
13973
|
-
this.
|
|
13974
|
-
this.
|
|
14007
|
+
this.h66_1 = suspendResult;
|
|
14008
|
+
this.i66_1 = arrayIterator(this.h66_1);
|
|
13975
14009
|
this.jk_1 = 2;
|
|
13976
14010
|
continue $sm;
|
|
13977
14011
|
case 2:
|
|
13978
|
-
if (!this.
|
|
14012
|
+
if (!this.i66_1.g()) {
|
|
13979
14013
|
this.jk_1 = 5;
|
|
13980
14014
|
continue $sm;
|
|
13981
14015
|
}
|
|
13982
14016
|
|
|
13983
|
-
this.
|
|
13984
|
-
if (this.
|
|
14017
|
+
this.j66_1 = this.i66_1.h();
|
|
14018
|
+
if (this.j66_1.isDirectory()) {
|
|
13985
14019
|
this.jk_1 = 3;
|
|
13986
|
-
suspendResult = FileManager_getInstance().n5g(this.
|
|
14020
|
+
suspendResult = FileManager_getInstance().n5g(this.e66_1, FileManager_getInstance().b5b([this.f66_1, this.j66_1.name]), this);
|
|
13987
14021
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13988
14022
|
return suspendResult;
|
|
13989
14023
|
}
|
|
13990
14024
|
continue $sm;
|
|
13991
14025
|
} else {
|
|
13992
|
-
if (this.
|
|
13993
|
-
this.
|
|
14026
|
+
if (this.e66_1.uh(this.f66_1 + '/' + this.j66_1.name)) {
|
|
14027
|
+
this.g66_1.a(this.f66_1 + '/' + this.j66_1.name);
|
|
13994
14028
|
this.jk_1 = 4;
|
|
13995
14029
|
continue $sm;
|
|
13996
14030
|
} else {
|
|
@@ -14002,7 +14036,7 @@
|
|
|
14002
14036
|
break;
|
|
14003
14037
|
case 3:
|
|
14004
14038
|
var ARGUMENT = suspendResult;
|
|
14005
|
-
this.
|
|
14039
|
+
this.g66_1.j(ARGUMENT);
|
|
14006
14040
|
;
|
|
14007
14041
|
this.jk_1 = 4;
|
|
14008
14042
|
continue $sm;
|
|
@@ -14010,7 +14044,7 @@
|
|
|
14010
14044
|
this.jk_1 = 2;
|
|
14011
14045
|
continue $sm;
|
|
14012
14046
|
case 5:
|
|
14013
|
-
return this.
|
|
14047
|
+
return this.g66_1;
|
|
14014
14048
|
case 6:
|
|
14015
14049
|
throw this.mk_1;
|
|
14016
14050
|
}
|
|
@@ -14025,13 +14059,13 @@
|
|
|
14025
14059
|
}
|
|
14026
14060
|
while (true);
|
|
14027
14061
|
};
|
|
14028
|
-
function $copyDirCOROUTINE$
|
|
14062
|
+
function $copyDirCOROUTINE$20(_this__u8e3s4, pathToDir, copyPath, resultContinuation) {
|
|
14029
14063
|
CoroutineImpl.call(this, resultContinuation);
|
|
14030
|
-
this.
|
|
14031
|
-
this.
|
|
14032
|
-
this.
|
|
14064
|
+
this.s66_1 = _this__u8e3s4;
|
|
14065
|
+
this.t66_1 = pathToDir;
|
|
14066
|
+
this.u66_1 = copyPath;
|
|
14033
14067
|
}
|
|
14034
|
-
protoOf($copyDirCOROUTINE$
|
|
14068
|
+
protoOf($copyDirCOROUTINE$20).sk = function () {
|
|
14035
14069
|
var suspendResult = this.lk_1;
|
|
14036
14070
|
$sm: do
|
|
14037
14071
|
try {
|
|
@@ -14039,12 +14073,12 @@
|
|
|
14039
14073
|
switch (tmp) {
|
|
14040
14074
|
case 0:
|
|
14041
14075
|
this.kk_1 = 8;
|
|
14042
|
-
this.
|
|
14043
|
-
if (this.
|
|
14076
|
+
this.v66_1 = this.s66_1.b5b([this.u66_1, path.basename(this.t66_1)]);
|
|
14077
|
+
if (this.s66_1.u5b(this.t66_1) ? !this.s66_1.u5b(this.v66_1) : false) {
|
|
14044
14078
|
this.kk_1 = 7;
|
|
14045
14079
|
this.jk_1 = 2;
|
|
14046
14080
|
var tmp_0 = new FileManager$copyDir$2();
|
|
14047
|
-
suspendResult = readdir(this.
|
|
14081
|
+
suspendResult = readdir(this.t66_1, isObject(tmp_0) ? tmp_0 : THROW_CCE(), this);
|
|
14048
14082
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14049
14083
|
return suspendResult;
|
|
14050
14084
|
}
|
|
@@ -14058,26 +14092,26 @@
|
|
|
14058
14092
|
case 1:
|
|
14059
14093
|
return false;
|
|
14060
14094
|
case 2:
|
|
14061
|
-
this.
|
|
14062
|
-
this.
|
|
14095
|
+
this.x66_1 = suspendResult;
|
|
14096
|
+
this.y66_1 = arrayIterator(this.x66_1);
|
|
14063
14097
|
this.jk_1 = 3;
|
|
14064
14098
|
continue $sm;
|
|
14065
14099
|
case 3:
|
|
14066
|
-
if (!this.
|
|
14100
|
+
if (!this.y66_1.g()) {
|
|
14067
14101
|
this.jk_1 = 6;
|
|
14068
14102
|
continue $sm;
|
|
14069
14103
|
}
|
|
14070
14104
|
|
|
14071
|
-
this.
|
|
14072
|
-
if (this.
|
|
14105
|
+
this.z66_1 = this.y66_1.h();
|
|
14106
|
+
if (this.z66_1.isDirectory()) {
|
|
14073
14107
|
this.jk_1 = 4;
|
|
14074
|
-
suspendResult = FileManager_getInstance().s61(FileManager_getInstance().b5b([this.
|
|
14108
|
+
suspendResult = FileManager_getInstance().s61(FileManager_getInstance().b5b([this.t66_1, this.z66_1.name]), this.v66_1, this);
|
|
14075
14109
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14076
14110
|
return suspendResult;
|
|
14077
14111
|
}
|
|
14078
14112
|
continue $sm;
|
|
14079
14113
|
} else {
|
|
14080
|
-
FileManager_getInstance().j5l(FileManager_getInstance().b5b([this.
|
|
14114
|
+
FileManager_getInstance().j5l(FileManager_getInstance().b5b([this.t66_1, this.z66_1.name]), this.v66_1);
|
|
14081
14115
|
this.jk_1 = 5;
|
|
14082
14116
|
continue $sm;
|
|
14083
14117
|
}
|
|
@@ -14091,7 +14125,7 @@
|
|
|
14091
14125
|
this.jk_1 = 3;
|
|
14092
14126
|
continue $sm;
|
|
14093
14127
|
case 6:
|
|
14094
|
-
this.
|
|
14128
|
+
this.w66_1 = true;
|
|
14095
14129
|
this.kk_1 = 8;
|
|
14096
14130
|
this.jk_1 = 9;
|
|
14097
14131
|
continue $sm;
|
|
@@ -14102,7 +14136,7 @@
|
|
|
14102
14136
|
var e = this.mk_1;
|
|
14103
14137
|
var tmp_2 = this;
|
|
14104
14138
|
console.error('Unknown error\n' + e);
|
|
14105
|
-
tmp_2.
|
|
14139
|
+
tmp_2.w66_1 = false;
|
|
14106
14140
|
this.jk_1 = 9;
|
|
14107
14141
|
continue $sm;
|
|
14108
14142
|
} else {
|
|
@@ -14114,7 +14148,7 @@
|
|
|
14114
14148
|
throw this.mk_1;
|
|
14115
14149
|
case 9:
|
|
14116
14150
|
this.kk_1 = 8;
|
|
14117
|
-
return this.
|
|
14151
|
+
return this.w66_1;
|
|
14118
14152
|
}
|
|
14119
14153
|
} catch ($p) {
|
|
14120
14154
|
var e_0 = $p;
|
|
@@ -14127,12 +14161,12 @@
|
|
|
14127
14161
|
}
|
|
14128
14162
|
while (true);
|
|
14129
14163
|
};
|
|
14130
|
-
function $getFileNamesCOROUTINE$
|
|
14164
|
+
function $getFileNamesCOROUTINE$21(_this__u8e3s4, filePath, resultContinuation) {
|
|
14131
14165
|
CoroutineImpl.call(this, resultContinuation);
|
|
14132
|
-
this.
|
|
14133
|
-
this.
|
|
14166
|
+
this.i67_1 = _this__u8e3s4;
|
|
14167
|
+
this.j67_1 = filePath;
|
|
14134
14168
|
}
|
|
14135
|
-
protoOf($getFileNamesCOROUTINE$
|
|
14169
|
+
protoOf($getFileNamesCOROUTINE$21).sk = function () {
|
|
14136
14170
|
var suspendResult = this.lk_1;
|
|
14137
14171
|
$sm: do
|
|
14138
14172
|
try {
|
|
@@ -14142,7 +14176,7 @@
|
|
|
14142
14176
|
this.kk_1 = 2;
|
|
14143
14177
|
this.jk_1 = 1;
|
|
14144
14178
|
var tmp_0 = new FileManager$getFileNames$2();
|
|
14145
|
-
suspendResult = readdir(this.
|
|
14179
|
+
suspendResult = readdir(this.j67_1, isObject(tmp_0) ? tmp_0 : THROW_CCE(), this);
|
|
14146
14180
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14147
14181
|
return suspendResult;
|
|
14148
14182
|
}
|
|
@@ -14214,21 +14248,21 @@
|
|
|
14214
14248
|
protoOf(FileManager).u5b = function (pathToFile) {
|
|
14215
14249
|
return existsSync(pathToFile);
|
|
14216
14250
|
};
|
|
14217
|
-
protoOf(FileManager).
|
|
14251
|
+
protoOf(FileManager).k64 = function () {
|
|
14218
14252
|
return process.cwd();
|
|
14219
14253
|
};
|
|
14220
14254
|
protoOf(FileManager).a60 = function () {
|
|
14221
14255
|
return this.b5b([__dirname, 'app.properties']);
|
|
14222
14256
|
};
|
|
14223
14257
|
protoOf(FileManager).n5g = function (fileMask, findDirectory, $completion) {
|
|
14224
|
-
var tmp = new $findFilesCOROUTINE$
|
|
14258
|
+
var tmp = new $findFilesCOROUTINE$18(this, fileMask, findDirectory, $completion);
|
|
14225
14259
|
tmp.lk_1 = Unit_getInstance();
|
|
14226
14260
|
tmp.mk_1 = null;
|
|
14227
14261
|
return tmp.sk();
|
|
14228
14262
|
};
|
|
14229
14263
|
protoOf(FileManager).k5f = function (pathToFile, copyPath, newName) {
|
|
14230
14264
|
var tmp;
|
|
14231
|
-
if (!JsonCommon_getInstance().
|
|
14265
|
+
if (!JsonCommon_getInstance().i64(newName)) {
|
|
14232
14266
|
tmp = this.b5b([copyPath, ensureNotNull(newName)]);
|
|
14233
14267
|
} else {
|
|
14234
14268
|
tmp = this.b5b([copyPath, path.basename(pathToFile)]);
|
|
@@ -14262,12 +14296,12 @@
|
|
|
14262
14296
|
return $super === VOID ? this.k5f(pathToFile, copyPath, newName) : $super.k5f.call(this, pathToFile, copyPath, newName);
|
|
14263
14297
|
};
|
|
14264
14298
|
protoOf(FileManager).s61 = function (pathToDir, copyPath, $completion) {
|
|
14265
|
-
var tmp = new $copyDirCOROUTINE$
|
|
14299
|
+
var tmp = new $copyDirCOROUTINE$20(this, pathToDir, copyPath, $completion);
|
|
14266
14300
|
tmp.lk_1 = Unit_getInstance();
|
|
14267
14301
|
tmp.mk_1 = null;
|
|
14268
14302
|
return tmp.sk();
|
|
14269
14303
|
};
|
|
14270
|
-
protoOf(FileManager).
|
|
14304
|
+
protoOf(FileManager).r63 = function (absolutePathToFile, body, rewrite) {
|
|
14271
14305
|
if (!this.u5b(absolutePathToFile) ? true : rewrite) {
|
|
14272
14306
|
try {
|
|
14273
14307
|
writeFileSync(absolutePathToFile, body);
|
|
@@ -14286,10 +14320,10 @@
|
|
|
14286
14320
|
rewrite = rewrite === VOID ? true : rewrite;
|
|
14287
14321
|
var tmp;
|
|
14288
14322
|
if ($super === VOID) {
|
|
14289
|
-
this.
|
|
14323
|
+
this.r63(absolutePathToFile, body, rewrite);
|
|
14290
14324
|
tmp = Unit_getInstance();
|
|
14291
14325
|
} else {
|
|
14292
|
-
tmp = $super.
|
|
14326
|
+
tmp = $super.r63.call(this, absolutePathToFile, body, rewrite);
|
|
14293
14327
|
}
|
|
14294
14328
|
return tmp;
|
|
14295
14329
|
};
|
|
@@ -14306,12 +14340,12 @@
|
|
|
14306
14340
|
return replace(replace(output, '\\', '/'), '//', '/');
|
|
14307
14341
|
};
|
|
14308
14342
|
protoOf(FileManager).t5b = function (filePath, $completion) {
|
|
14309
|
-
var tmp = new $getFileNamesCOROUTINE$
|
|
14343
|
+
var tmp = new $getFileNamesCOROUTINE$21(this, filePath, $completion);
|
|
14310
14344
|
tmp.lk_1 = Unit_getInstance();
|
|
14311
14345
|
tmp.mk_1 = null;
|
|
14312
14346
|
return tmp.sk();
|
|
14313
14347
|
};
|
|
14314
|
-
protoOf(FileManager).
|
|
14348
|
+
protoOf(FileManager).k67 = function (pathToFile, fromResource) {
|
|
14315
14349
|
var tmp0_subject = fromResource;
|
|
14316
14350
|
var tmp;
|
|
14317
14351
|
switch (tmp0_subject) {
|
|
@@ -14329,7 +14363,7 @@
|
|
|
14329
14363
|
};
|
|
14330
14364
|
protoOf(FileManager).i5d = function (pathToFile, fromResource, $super) {
|
|
14331
14365
|
fromResource = fromResource === VOID ? false : fromResource;
|
|
14332
|
-
return $super === VOID ? this.
|
|
14366
|
+
return $super === VOID ? this.k67(pathToFile, fromResource) : $super.k67.call(this, pathToFile, fromResource);
|
|
14333
14367
|
};
|
|
14334
14368
|
protoOf(FileManager).x5f = function (pathToFile) {
|
|
14335
14369
|
var tmp;
|
|
@@ -14358,7 +14392,7 @@
|
|
|
14358
14392
|
function JsonCommon() {
|
|
14359
14393
|
JsonCommon_instance = this;
|
|
14360
14394
|
}
|
|
14361
|
-
protoOf(JsonCommon).
|
|
14395
|
+
protoOf(JsonCommon).i64 = function (_this__u8e3s4) {
|
|
14362
14396
|
return _this__u8e3s4 == null ? true : equals(_this__u8e3s4, undefined);
|
|
14363
14397
|
};
|
|
14364
14398
|
var JsonCommon_instance;
|
|
@@ -14370,14 +14404,14 @@
|
|
|
14370
14404
|
function ZipArchiver$archive$archive$1$zlib$1() {
|
|
14371
14405
|
this.level = 9;
|
|
14372
14406
|
}
|
|
14373
|
-
protoOf(ZipArchiver$archive$archive$1$zlib$1).
|
|
14407
|
+
protoOf(ZipArchiver$archive$archive$1$zlib$1).l67 = function () {
|
|
14374
14408
|
return this.level;
|
|
14375
14409
|
};
|
|
14376
14410
|
function ZipArchiver$archive$archive$1() {
|
|
14377
14411
|
var tmp = this;
|
|
14378
14412
|
tmp.zlib = new ZipArchiver$archive$archive$1$zlib$1();
|
|
14379
14413
|
}
|
|
14380
|
-
protoOf(ZipArchiver$archive$archive$1).
|
|
14414
|
+
protoOf(ZipArchiver$archive$archive$1).m67 = function () {
|
|
14381
14415
|
return this.zlib;
|
|
14382
14416
|
};
|
|
14383
14417
|
function ZipArchiver() {
|
|
@@ -14409,7 +14443,7 @@
|
|
|
14409
14443
|
tmp_0.j5d_1 = tmp0_elvis_lhs == null ? process.cwd() : tmp0_elvis_lhs;
|
|
14410
14444
|
this.l5d_1 = this.j5d_1 + '/entityMap.json';
|
|
14411
14445
|
}
|
|
14412
|
-
protoOf(Mapper).
|
|
14446
|
+
protoOf(Mapper).q63 = function (config) {
|
|
14413
14447
|
var tmp;
|
|
14414
14448
|
if ((!(config === null) ? !(config.mapName === null) : false) ? !(config.mapName === undefined) : false) {
|
|
14415
14449
|
var tmp$ret$0;
|
|
@@ -14581,16 +14615,16 @@
|
|
|
14581
14615
|
this.forcePathStyle = forcePathStyle;
|
|
14582
14616
|
this.pathToUpload = pathToUpload;
|
|
14583
14617
|
}
|
|
14584
|
-
protoOf(S3ClientConfiguration).
|
|
14618
|
+
protoOf(S3ClientConfiguration).n67 = function () {
|
|
14585
14619
|
return this.credentials;
|
|
14586
14620
|
};
|
|
14587
14621
|
protoOf(S3ClientConfiguration).s5p = function () {
|
|
14588
14622
|
return this.region;
|
|
14589
14623
|
};
|
|
14590
|
-
protoOf(S3ClientConfiguration).
|
|
14624
|
+
protoOf(S3ClientConfiguration).o67 = function () {
|
|
14591
14625
|
return this.endpoint;
|
|
14592
14626
|
};
|
|
14593
|
-
protoOf(S3ClientConfiguration).
|
|
14627
|
+
protoOf(S3ClientConfiguration).p67 = function () {
|
|
14594
14628
|
return this.forcePathStyle;
|
|
14595
14629
|
};
|
|
14596
14630
|
protoOf(S3ClientConfiguration).z5p = function () {
|
|
@@ -14661,16 +14695,16 @@
|
|
|
14661
14695
|
this.Body = body;
|
|
14662
14696
|
this.ContentType = contentType;
|
|
14663
14697
|
}
|
|
14664
|
-
protoOf(S3ObjectToSend).
|
|
14698
|
+
protoOf(S3ObjectToSend).q67 = function () {
|
|
14665
14699
|
return this.Bucket;
|
|
14666
14700
|
};
|
|
14667
|
-
protoOf(S3ObjectToSend).
|
|
14701
|
+
protoOf(S3ObjectToSend).r67 = function () {
|
|
14668
14702
|
return this.Key;
|
|
14669
14703
|
};
|
|
14670
|
-
protoOf(S3ObjectToSend).
|
|
14704
|
+
protoOf(S3ObjectToSend).s67 = function () {
|
|
14671
14705
|
return this.Body;
|
|
14672
14706
|
};
|
|
14673
|
-
protoOf(S3ObjectToSend).
|
|
14707
|
+
protoOf(S3ObjectToSend).t67 = function () {
|
|
14674
14708
|
return this.ContentType;
|
|
14675
14709
|
};
|
|
14676
14710
|
protoOf(S3ObjectToSend).toString = function () {
|