@rnv/engine-rn-windows
Version:
ReNative Engine to build for Windows platform with react native support.
25 lines • 1.08 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var core_1 = require("@rnv/core");
var sdk_1 = require("../sdk");
var constants_1 = require("../sdk/constants");
// TODO Implement export windows app (currently it only seems to be available through VS Studio itself...)
exports.default = (0, core_1.createTask)({
description: 'Export the app into deployable binary',
dependsOn: [core_1.RnvTaskName.build],
fn: function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () {
return tslib_1.__generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, (0, sdk_1.clearWindowsTemporaryFiles)()];
case 1:
_a.sent();
return [2 /*return*/, (0, sdk_1.packageWindowsApp)()];
}
});
}); },
task: core_1.RnvTaskName.export,
options: core_1.RnvTaskOptionPresets.withConfigure(),
platforms: constants_1.SdkPlatforms,
});
//# sourceMappingURL=taskExport.js.map