2015-09-30 22:15:28 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
cd /tmp
|
|
|
|
|
2015-09-30 22:50:12 +02:00
|
|
|
# cleanup previously downloaded and unpacked files.
|
2015-09-30 22:15:28 +02:00
|
|
|
rm -rf libsass
|
|
|
|
rm -rf sassc
|
|
|
|
|
2015-09-30 22:50:12 +02:00
|
|
|
# download the latest build of sassc
|
2015-09-30 22:15:28 +02: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
|
|
|
|
|
2015-09-30 22:50:12 +02:00
|
|
|
# build the sassc binary
|
2015-09-30 22:15:28 +02:00
|
|
|
cd sassc
|
|
|
|
make
|
2015-09-30 22:50:12 +02:00
|
|
|
|
|
|
|
# isntall the sassc binary
|
2015-10-01 07:28:20 +02:00
|
|
|
install -t /usr/local/bin bin/sassc
|