Created
April 29, 2014 22:51
-
-
Save mhayes/99fff421fdfe398c7f7e to your computer and use it in GitHub Desktop.
Setup SassC + LibSass on MacOSX (tested on 10.9.2 only)
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
#!/bin/bash | |
# # Allow us to compile from source | |
# https://github.com/hcatlin/libsass/archive/master.zip | |
# https://github.com/hcatlin/sassc/archive/master.zip | |
TMPFILE="libsass" | |
PWD=`pwd` | |
wget "https://github.com/hcatlin/libsass/archive/master.zip" -O $TMPFILE | |
unzip -d $PWD $TMPFILE | |
rm $TMPFILE | |
TMPFILE="sassc" | |
PWD=`pwd` | |
wget "https://github.com/hcatlin/sassc/archive/master.zip" -O $TMPFILE | |
unzip -d $PWD $TMPFILE | |
rm $TMPFILE | |
export SASS_LIBSASS_PATH="$PWD/libsass-master" | |
echo $SASS_LIBSASS_PATH | |
cd "$PWD/sassc-master" | |
make | |
mkdir -p ~/bin | |
cp bin/sassc ~/bin/sassc | |
chmod +x ~/bin/sassc | |
rm -rf libsass-master | |
rm -rf sassc-master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run:
curl https://gist.githubusercontent.com/mhayes/99fff421fdfe398c7f7e/raw/ecd40f2e547e59699d5156095293d62b87370eee/setup.sh | sh