commit 8e60c8b95b365bf1e2eebb8339bbb569b143268d parent 8dbb0862e8a3e533d50116d474d5fa3e50fb9f19 Author: Hugo Soucy <hugo@soucy.cc> Date: Thu, 28 Sep 2017 10:30:49 -0400 Add a bootstrap script. Diffstat:
A | bootstrap | | | 11 | +++++++++++ |
M | manuelfile | | | 1 | + |
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/bootstrap b/bootstrap @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# Go to the script's directory +cd "$(dirname "$0")" + +# Include fakestache configuration file +. config/app.cfg + +# Update file/curriculum-vitae.md +# from git@github.com:hs0ucy/Curriculum-vitae.git repository +curl https://raw.githubusercontent.com/hs0ucy/Curriculum-vitae/master/curriculum-vitae.md > "$CONTENT_PATH/file/curriculum-vitae.md" diff --git a/manuelfile b/manuelfile @@ -14,6 +14,7 @@ load_plugin manuel-contrib-watch # Concatenate and minify assets # Then build the static site function build () { + ./bootstrap ./preprocess_css ./preprocess_javascript