Remove .DS_Store files when building the app
This commit is contained in:
parent
228235fa26
commit
59c8b71995
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ gulp.task('build', (done) => {
|
||||||
console.log(stderr);
|
console.log(stderr);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
execSync('cd build && find . -name ".DS_Store" -type f -delete', function (err, stdout, stderr) {
|
||||||
|
console.log(stdout);
|
||||||
|
console.log(stderr);
|
||||||
|
});
|
||||||
|
|
||||||
fs.removeSync('build/composer.json');
|
fs.removeSync('build/composer.json');
|
||||||
fs.removeSync('build/composer.lock');
|
fs.removeSync('build/composer.lock');
|
||||||
fs.removeSync('build/storage/uploads/*');
|
fs.removeSync('build/storage/uploads/*');
|
||||||
|
|
Loading…
Reference in a new issue