This repository has been archived on 2022-11-21. You can view files and clone it, but cannot push or open issues or pull requests.
kspace-static/generate.sh
2020-05-20 10:14:57 +02:00

21 lines
407 B
Bash
Executable file

echo "STEP 1 - Generation des fichiers statics"
gulp
echo "STEP 2 - Generation du blog"
cd src/blog
hexo generate
cd ../../
echo "STEP 3 - Generation de l'espace littéraire"
cd src/textes
hexo generate
echo "STEP 4 - Générations des livres à télécharger"
cd ../crowbook
source generate-text.sh
echo "STEP 5 - Remplacement dossier public par dossier temp"
cd ../../
rm -rf public/*
mv dist public