hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit 35a37a4657a591d17214a054e6a652fb5ba90df3
parent 19bce88725a9ee09df19be6435457a9ecb37c6e9
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Sun, 26 Feb 2017 14:59:20 -0500

Add a manuel task runner file.

Diffstat:
Amanuelfile | 26++++++++++++++++++++++++++
1 file changed, 26 insertions(+), 0 deletions(-)

diff --git a/manuelfile b/manuelfile @@ -0,0 +1,26 @@ +#!/bin/bash + +# Run this task with: $ manuel build +function build () { + ./frontend + + case $1 in + -d|--dev) + ./fakestache -r -d + ;; + *) + ./fakestache -r + ;; + esac + + echo "- hugosoucycc is builded!" +} + +# Run this task with: $ manuel build +function deploy () { + build + + ./deploy + + echo "- ... and deployed!" +}