harness-drone/contrib/setup-sassc.sh

22 lines
396 B
Bash
Raw Normal View History

2015-09-30 20:15:28 +00:00
#!/bin/bash
set -e
cd /tmp
# cleanup previously downloaded and unpacked files.
2015-09-30 20:15:28 +00:00
rm -rf libsass
rm -rf sassc
# download the latest build of sassc
2015-09-30 20:15:28 +00:00
git clone --depth=1 git://github.com/sass/libsass.git
git clone --depth=1 git://github.com/sass/sassc.git
export SASS_LIBSASS_PATH=/tmp/libsass
# build the sassc binary
2015-09-30 20:15:28 +00:00
cd sassc
make
# isntall the sassc binary
2015-10-01 05:28:20 +00:00
install -t /usr/local/bin bin/sassc