Created
October 8, 2014 22:17
-
-
Save ryanjbonnell/e03f3cf1e9f6b3cf402b to your computer and use it in GitHub Desktop.
Install SassC + LibSass for Mac OS X 10.9 "Mavericks"
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
# 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