Skip to content

Instantly share code, notes, and snippets.

@mhayes mhayes/setup.sh
Created Apr 29, 2014

Embed
What would you like to do?
Setup SassC + LibSass on MacOSX (tested on 10.9.2 only)
#!/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
@mhayes

This comment has been minimized.

Copy link
Owner Author

mhayes commented May 1, 2014

To run:

curl https://gist.githubusercontent.com/mhayes/99fff421fdfe398c7f7e/raw/ecd40f2e547e59699d5156095293d62b87370eee/setup.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.