improvement: éviter temps de latence à la compilation
This commit is contained in:
parent
82ff927fbe
commit
91ada89aa3
2 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
dist/
|
dist/
|
||||||
node_modules/
|
node_modules/
|
||||||
|
public/
|
||||||
|
|
7
generate.sh
Normal file
7
generate.sh
Normal 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
|
Loading…
Reference in a new issue