Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 913 Bytes

unix-instructions.md

File metadata and controls

42 lines (31 loc) · 913 Bytes

Building On Unix

To build SassC, you must have either local copy of the LibSass source or it must be installed into your system. For development, please use the source version. You must then setup an environment variable pointing to the libsass folder, like:

export SASS_LIBSASS_PATH=/Users/you/path/libsass

The executable will be in the bin folder. To run it, simply try something like

./bin/sassc [input file] > output.css

Step-by-step

  1. Clone the libsass repo:

    git clone https://github.com/sass/libsass.git
  2. Edit your .bash_profile to include libsass directory:

    export SASS_LIBSASS_PATH=/Users/you/path/libsass
  3. Clone the sassC repo

    git clone https://github.com/sass/sassc.git
  4. cd into the sassC repo

    cd ./sassc
  5. Type 'make'

    make
  6. Job done!