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(
|
2018-11-08 22:35:19 +01:00
|
|
|
`cp -R ${path.resolve(__dirname, '../dist/*')} ${path.resolve(
|
2018-11-02 23:51:27 +01:00
|
|
|
__dirname,
|
|
|
|
'app/src/main/assets'
|
|
|
|
)}`
|
2018-07-27 15:11:46 +02:00
|
|
|
);
|