8 lines
216 B
Bash
Executable File
8 lines
216 B
Bash
Executable File
#!/bin/bash
|
|
git pull 2>&1 > error.txt || exit 1
|
|
rm error.txt
|
|
for f in *.less ; do
|
|
lessc $f > `basename $f .less`.css 2>>error.txt
|
|
sed -i `basename $f .less`.css -e "s#DEVBUILDID#`git rev-parse --short HEAD`#"
|
|
done
|