1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/contrib/setup-sassc.sh
2015-09-30 22:28:20 -07:00

22 lines
396 B
Bash
Executable File

#!/bin/bash
set -e
cd /tmp
# cleanup previously downloaded and unpacked files.
rm -rf libsass
rm -rf sassc
# download the latest build of sassc
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
cd sassc
make
# isntall the sassc binary
install -t /usr/local/bin bin/sassc