Last active
August 29, 2015 14:05
-
-
Save anlutro/5f103ce197df9b1e7ee6 to your computer and use it in GitHub Desktop.
Installing sassc - SASS/SCSS compiler written in C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# where to put the executable - make sure you have write | |
# permissions to $prefix/bin ! | |
prefix=$HOME # or /usr/local or whatever | |
# create a random tmp directory to work in | |
src=$(mktemp -d) && cd $src | |
git clone https://github.com/sass/libsass && cd libsass | |
git submodule init && git submodule update | |
cd $src | |
git clone https://github.com/sass/sassc && cd sassc | |
export SASS_LIBSASS_PATH=$src/libsass | |
make | |
mv ./bin/* $prefix/bin | |
rm -rf $src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment