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

22 lines
407 B
Bash
Raw Normal View History

2020-05-20 10:14:57 +02:00
echo "STEP 1 - Generation des fichiers statics"
2020-03-28 09:58:04 +01:00
gulp
2020-05-20 10:14:57 +02:00
echo "STEP 2 - Generation du blog"
2020-03-28 09:58:04 +01:00
cd src/blog
hexo generate
cd ../../
2020-05-20 10:14:57 +02:00
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
# sh generate-text.sh
2020-05-20 10:14:57 +02:00
echo "STEP 5 - Remplacement dossier public par dossier temp"
cd ../../
2020-05-20 10:15:22 +02:00
rm -rf public
2020-05-20 10:14:57 +02:00
mv dist public