remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/apps/remixdesktop/afterbuild.js

19 lines
491 B

const { spawn } = require('child_process');
exports.default = async function afterbuild(context) {
console.log('AFTER BUILD', context);
9 months ago
const child = spawn('zsh', ['notarize.sh', 'arg1', 'arg2'], { shell: true });
child.stdout.on('data', (data) => {
console.log(`stdout: ${data}`);
});
child.stderr.on('data', (data) => {
console.error(`stderr: ${data}`);
});
child.on('close', (code) => {
console.log(`child process exited with code ${code}`);
});
9 months ago
}