Written by Aaron Leung and Hampton Catlin (@hcatlin)
http://github.com/hcatlin/sassc
SassC is a wrapper around libsass (http://github.com/hcatlin/libsass) used to generate a useful command-line application that can be installed and packaged for several operating systems.
SassC currently statically links the libsass library, but might one day using dynamic linking if libsass supports that in the future.
Sass is a CSS pre-processor language to add on exciting, new, awesome features to CSS. Sass was the first language of its kind and by far the most mature and up to date codebase.
Sass was originally created by the co-creator of this library, Hampton Catlin (@hcatlin). The extension and continuing evolution of the language has all been the result of years of work by Nathan Weizenbaum (@nex3) and Chris Eppstein (@chriseppstein).
For more information about Sass itself, please visit http://sass-lang.com
After you checkout the project, please make sure to update the submodules.
git submodule update --init --recursive
Then run make:
make
OR
make sassc
The executable will be in the bin folder. To run it, simply try something like
./bin/sassc [input file] > output.css
The official libsass/sassc test suite is located at http://github.com/hcatlin/sass-spec. It's a specialized project just to ensure that Sass works as expected. First, go clone (and ensure its up-to-date) the sass-spec repo. THEN, you must setup an environment variable to point to the spec folder.
For instance, this is in my profile.
export SASS_SPEC_PATH=/Users/hcatlin/dev/sass/spec
Run the basic tests:
make test
Any contribution to the project are seen as copyright assigned to Hampton Catlin. Your contribution warrants that you have the right to assign copyright on your work. This is to ensure that the project remains free and open -- similar to the Apache Foundation.