1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-06 08:16:19 +02:00
woodpecker/contrib/setup-sassc.sh

22 lines
396 B
Bash
Raw Normal View History

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