Remove .DS_Store files when building the app

This commit is contained in:
Alex Tselegidis 2020-12-07 23:07:13 +02:00
parent 228235fa26
commit 59c8b71995

View file

@ -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/*');