-
Notifications
You must be signed in to change notification settings - Fork 20
/
build-less.sh
executable file
·22 lines (19 loc) · 904 Bytes
/
build-less.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
map=''
while getopts "h?m" opt; do
case "$opt" in
h|\?)
echo "generate css files from less files"
echo "usage: $0 [-m]"
echo " -m: generate source maps"
exit 0
;;
m) map='--source-map'
;;
esac
done
./node_modules/.bin/lessc carnatic/static/carnatic/css/main.less carnatic/static/carnatic/css/main.css $map
./node_modules/.bin/lessc carnatic/static/carnatic/css/recording.less carnatic/static/carnatic/css/recording.css $map
./node_modules/.bin/lessc carnatic/static/carnatic/css/pages.less carnatic/static/carnatic/css/pages.css $map
./node_modules/.bin/lessc makam/static/makam/css/main.less makam/static/makam/css/main.css $map
./node_modules/.bin/lessc makam/static/makam/css/recording.less makam/static/makam/css/recording.css $map
./node_modules/.bin/lessc makam/static/makam/css/pages.less makam/static/makam/css/pages.css $map