Browse Source

improvement: éviter temps de latence à la compilation

master
Kazhnuz 2 months ago
parent
commit
91ada89aa3
2 changed files with 8 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +7
    -0
      generate.sh

+ 1
- 0
.gitignore View File

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

+ 7
- 0
generate.sh 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

Loading…
Cancel
Save