Use new extension setup process

This commit is contained in:
Carlos Quintana
2022-05-17 12:31:47 +02:00
parent 2a8c23d736
commit af7333cdc8
9 changed files with 276 additions and 481 deletions
+2 -2
View File
@@ -16,14 +16,14 @@ const extractExtensionData = () => {
return {
name: extPackageJson.name + (isBeta ? '-beta' : '-release'),
version: extPackageJson.version + (isBeta ? ('.' + betaRev) : ''),
}
};
};
const makeDestZipDirIfNotExists = () => {
if(!fs.existsSync(DEST_ZIP_DIR)) {
fs.mkdirSync(DEST_ZIP_DIR);
}
}
};
const buildZip = (src, dist, zipFilename) => {
console.info(`Building ${zipFilename}...`);