improvement: make dist a temporary folder
This commit is contained in:
parent
7c924c8a56
commit
a39bf528ba
2 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
dist/
|
dist/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
public/
|
||||||
|
|
7
generate.sh
Executable file
7
generate.sh
Executable 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…
Reference in a new issue