From b8863ac4aeaa53b36c073bd3562392d241053466 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 9 Nov 2014 21:26:55 +0100 Subject: experimental building script --- build.sh | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 085c990..df06791 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,21 @@ #!/bin/sh +echo "building scss" scss assets/css/src/lustige-styles.scss assets/css/lustige-styles.css -# spider html -# copy assets +echo "removing old build" +rm -rf build + +echo "spidering page" +mkdir -p build +wget \ + --no-verbose \ + --no-clobber \ + --no-host-directories \ + --cut-dirs=3 \ + --directory-prefix=build \ + --user-agent=StaticBuildScript \ + --recursive \ + --no-parent \ + --page-requisites \ + --convert-links \ + http://localhost/~peter/voc-frontends/31c3/ -- cgit v1.2.3