mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-25 03:23:09 +02:00
34 lines
731 B
JavaScript
34 lines
731 B
JavaScript
|
const execa = require('execa');
|
||
|
|
||
|
(async () => {
|
||
|
console.log('building packages/backend ...');
|
||
|
|
||
|
await execa('npm', ['run', 'build'], {
|
||
|
cwd: __dirname + '/../packages/backend',
|
||
|
stdout: process.stdout,
|
||
|
stderr: process.stderr,
|
||
|
});
|
||
|
|
||
|
console.log('building packages/client ...');
|
||
|
|
||
|
await execa('npm', ['run', 'build'], {
|
||
|
cwd: __dirname + '/../packages/client',
|
||
|
stdout: process.stdout,
|
||
|
stderr: process.stderr,
|
||
|
});
|
||
|
|
||
|
await execa('npm', ['run', 'build'], {
|
||
|
cwd: __dirname + '/../packages/client',
|
||
|
stdout: process.stdout,
|
||
|
stderr: process.stderr,
|
||
|
});
|
||
|
|
||
|
console.log('build finishing ...');
|
||
|
|
||
|
await execa('npm', ['run', 'gulp'], {
|
||
|
cwd: __dirname + '/../',
|
||
|
stdout: process.stdout,
|
||
|
stderr: process.stderr,
|
||
|
});
|
||
|
})();
|