Browse Source

improvement: make dist a temporary folder

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

+ 1
- 0
.gitignore View File

@@ -2,3 +2,4 @@
node_modules/
dist/
package-lock.json
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 dist"
cd ../../
rm -rf public
mv dist public

Loading…
Cancel
Save