improvement: éviter temps de latence à la compilation

This commit is contained in:
Kazhnuz 2020-05-20 10:17:36 +02:00
parent 82ff927fbe
commit 91ada89aa3
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
dist/ dist/
node_modules/ node_modules/
public/

7
generate.sh Normal file
View file

@ -0,0 +1,7 @@
echo "STEP 1 - Generation des fichiers statics"
gulp
echo "STEP 2 - Remplacement dossier public par dossier temp"
cd ../../
rm -rf public
mv dist public