hugo.soucy.cc

The personnal website source code of Hugo Soucy. Creates from an homebrewed static website generator (Ferron).
Log | Files | Refs

commit 85577424005b8ca860b2987d46b56adf80e95b32
parent 80d1bedc2fb77ce6ca445bce93936b9d55179fab
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 19 Nov 2017 13:26:42 -0500

Remove bash vars.

Diffstat:
Mmanuelfile | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/manuelfile b/manuelfile @@ -7,6 +7,7 @@ # $HOME/.manuel.d/plugins/manuel-contrib-watch load_plugin manuel-contrib-watch +# Paths vars FERRON_PATH=/home/hs0ucy/_01_http/ferron SITE_PATH=/home/hs0ucy/_01_http/ferron/sites/hugo.soucy.cc @@ -29,15 +30,15 @@ function build () { ./preprocess_css ./preprocess_javascript - + case $1 in -d|--dev) - cd $FERRON_PATH && - lua53 "$FERRON_PATH"/ferron.lua --dev + cd "$FERRON_PATH" && + lua53 ./ferron.lua --dev ;; *) - cd $FERRON_PATH && - lua53 "$FERRON_PATH"/ferron.lua + cd "$FERRON_PATH" && + lua53 ./ferron.lua ;; esac @@ -49,6 +50,8 @@ function build () { function deploy () { build && + cd $SITE_PATH + ./deploy echo "- ... and deployed!"