aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh20
1 files 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/