From 59c8b719954de75a6a11c54bb02813995fc6241b Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Mon, 7 Dec 2020 23:07:13 +0200 Subject: [PATCH] Remove .DS_Store files when building the app --- gulpfile.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 101f9d00..ad8ea239 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -50,6 +50,11 @@ gulp.task('build', (done) => { 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.lock'); fs.removeSync('build/storage/uploads/*');