Fix Build-Script for LessCSS

This commit is contained in:
MaZderMind 2015-03-08 15:46:33 +01:00
parent 1d79de62ff
commit 7a95e94657

View file

@ -1,9 +1,10 @@
#!/bin/sh #!/bin/sh
LOCAL_SERVER='http://localhost/~peter/voc-frontends/31c3' LOCAL_SERVER='http://localhost/streaming-website'
echo "building scss" echo "building less"
scss assets/css/src/lustige-styles.scss assets/css/lustige-styles.css rm -f assets/css/main.css
lessc assets/css/main.less assets/css/main.css
echo "removing old build" echo "removing old build"
rm -rf build rm -rf build
@ -13,7 +14,7 @@ mkdir -p build
wget \ wget \
--no-verbose \ --no-verbose \
--no-host-directories \ --no-host-directories \
--cut-dirs=3 \ --cut-dirs=1 \
--directory-prefix=build \ --directory-prefix=build \
--user-agent=StaticBuildScript \ --user-agent=StaticBuildScript \
--recursive \ --recursive \