paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 282932d54f762b8a8e9ae188d88d8ae93f8082f1
parent d0f41ee78a421c78faeaccefc7f703dea5a6ab42
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 28 Mar 2019 01:48:38 -0400

Add directory creation for public/html and css

Diffstat:
Mcreatepages.sh | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/createpages.sh b/createpages.sh @@ -27,13 +27,16 @@ if [[ $1 == '-h' || $1 == '--help' ]]; then fi if [[ $1 == '-c' || $1 == '--css' ]]; then + cssdir="public/css" + mkdir -p $cssdir/ echo "Minifying CSS..." curl --data "input=`cat build/base.css`" https://cssminifier.com/raw > \ - public/css/base.min.css + $cssdir/base.min.css exit 0 fi htmldir="public/html" +mkdir -p $htmldir/ echo "Building $@..." for page in $@; do