mirror of
https://github.com/voc/streaming-website
synced 2024-11-14 00:17:18 +00:00
Fix Build-Script for LessCSS
This commit is contained in:
parent
1d79de62ff
commit
7a95e94657
1 changed files with 5 additions and 4 deletions
9
build.sh
9
build.sh
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue