Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Install SassC + LibSass for Mac OS X 10.9 "Mavericks"
# Install SassC Interpreter
$ cd /usr/local/src
$ curl -kL https://github.com/hcatlin/libsass/archive/master.zip > libsass.zip
$ unzip libsass.zip
# Install LibSass Library
$ cd /usr/local/src
$ curl -kL https://github.com/sass/sassc/archive/master.zip > sassc.zip
$ unzip sassc.zip
# Compile SassC
$ export SASS_LIBSASS_PATH="/usr/local/src/libsass-master"
$ cd sassc-master
$ make
$ sudo ln -s $(pwd)/bin/sassc /usr/local/bin/sassc
$ chmod +x /usr/local/bin/sassc
# Example Usage
$ /usr/local/bin/sassc ~/Desktop/input.scss ~/Desktop/output.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment