@24i/smartapps-bigscreen-rnv-build-engine 0.17.3-alpha.2 → 0.17.3
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.
|
@@ -76,4 +76,4 @@ const startTimestamp = Date.now();
|
|
|
76
76
|
releaseAllWithScheme();
|
|
77
77
|
const msPerSecond = 1000;
|
|
78
78
|
const scriptTotalTimeInSeconds = Math.ceil((Date.now() - startTimestamp) / msPerSecond);
|
|
79
|
-
console.log(`
|
|
79
|
+
console.log(`buildAllWithScheme: done in ${scriptTotalTimeInSeconds} second(s)!`);
|
|
@@ -59,12 +59,8 @@ const buildAndroidTVProject = async (c) => {
|
|
|
59
59
|
const taskFlavourName = capitalizeFirstLetter(flavourName);
|
|
60
60
|
const taskAssembleName = `assemble${taskFlavourName}${taskBuildType}`;
|
|
61
61
|
const taskBundleName = `bundle${taskFlavourName}${taskBuildType}`;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
console.log(`Running command: ${cmd1}`);
|
|
65
|
-
(0, child_process_1.execSync)(cmd1);
|
|
66
|
-
console.log(`Running command: ${cmd2}`);
|
|
67
|
-
(0, child_process_1.execSync)(cmd2);
|
|
62
|
+
(0, child_process_1.execSync)(`cd ${projectDir} && ${gradlew} ${taskAssembleName}`);
|
|
63
|
+
(0, child_process_1.execSync)(`cd ${projectDir} && ${gradlew} ${taskBundleName}`);
|
|
68
64
|
fs.rmSync(tmpOutputDir, { recursive: true, force: true });
|
|
69
65
|
fs.mkdirSync(tmpOutputDir);
|
|
70
66
|
if (!fs.existsSync(outputDir)) {
|