2018-07-27 15:11:46 +02:00
|
|
|
const child_process = require('child_process');
|
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
child_process.execSync('npm run build');
|
2018-11-02 23:51:27 +01:00
|
|
|
child_process.execSync(
|
|
|
|
`cp -R ${path.resolve(__dirname, '../dist')} ${path.resolve(
|
|
|
|
__dirname,
|
|
|
|
'app/src/main/assets'
|
|
|
|
)}`
|
2018-07-27 15:11:46 +02:00
|
|
|
);
|