aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMaZderMind2014-11-09 21:26:55 +0100
committerMaZderMind2014-11-09 21:27:40 +0100
commitb8863ac4aeaa53b36c073bd3562392d241053466 (patch)
tree45dabba3b54a86b04bc10f8630864443688757e3 /build.sh
parent2cce3786bf96df6ec42ce22013c2ed8a5252e8fb (diff)
experimental building script
Diffstat (limited to 'build.sh')
-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/