* Sign app for publishing * update gitignore * refactor input args * Change instance api sorting * Better instance sorting * Instance filter * remove hardcoded instance * script cleanups * Unused function
20 lines
432 B
JavaScript
20 lines
432 B
JavaScript
const rokuDeploy = require('roku-deploy');
|
|
|
|
const options = {
|
|
outDir: 'release',
|
|
outFile: 'playlet.zip',
|
|
//BUG: rokuDeploy does not read stagingDir properly fron config
|
|
stagingDir: 'dist/build',
|
|
retainStagingDir: true
|
|
};
|
|
|
|
(async () => {
|
|
try {
|
|
await rokuDeploy.zipPackage(options);
|
|
console.log(`${options.outFile} created`);
|
|
}
|
|
catch (error) {
|
|
console.error(error);
|
|
}
|
|
})();
|