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