commit 97806ab77a10e6d4747be6d9b642a9f6bd441f5e
parent 801487dbb0f219cccc8fe8e0e2db8712edb2ceed
Author: Hugo Soucy <hugo@soucy.cc>
Date: Tue, 7 Mar 2017 06:54:10 -0500
Use the fakestache config files in the manuelfile
Diffstat:
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/manuelfile b/manuelfile
@@ -7,6 +7,10 @@
# $HOME/.manuel.d/plugins/manuel-contrib-watch
load_plugin manuel-contrib-watch
+# Include fakestache configuration files
+. config/site.cfg
+. config/app.cfg
+
# Concatenate and minify assets
# Then build the static site
function build () {
@@ -21,7 +25,7 @@ function build () {
;;
esac
- echo "- hugosoucycc is builded!"
+ echo "- $SITE_DOMAINNAME is builded!"
}
# Build the static site
@@ -39,7 +43,7 @@ function deploy () {
function update_css () {
./frontend
- rsync -avmh "./static/prod/css/" "./public_html/css/"
+ rsync -avmh "./$ASSETS/css/" "./$PUBLICHTML/css/"
}
# Concatenate and minify scripts
@@ -47,7 +51,7 @@ function update_css () {
function update_js () {
./frontend
- rsync -avmh "./static/prod/js/" "./public_html/js/"
+ rsync -avmh "./$ASSETS/js/" "./$PUBLICHTML/js/"
}
# Watch CSS and JS files