diff --git a/docs/building/unix-instructions.md b/docs/building/unix-instructions.md index d078c86..c7929c2 100644 --- a/docs/building/unix-instructions.md +++ b/docs/building/unix-instructions.md @@ -1,10 +1,6 @@ # 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: - -```bash -export SASS_LIBSASS_PATH=/Users/you/path/libsass -``` +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. The executable will be in the bin folder. To run it, simply try something like @@ -14,29 +10,28 @@ The executable will be in the bin folder. To run it, simply try something like # Step-by-step -1. Clone the libsass repo: +1. Clone the SassC repo ```bash - git clone https://github.com/sass/libsass.git - ``` - -2. Edit your .bash_profile to include libsass directory: - ```bash - export SASS_LIBSASS_PATH=/Users/you/path/libsass + git clone https://github.com/sass/sassc.git ``` -3. Clone the sassC repo +1. cd into the SassC repo ```bash - git clone https://github.com/sass/sassc.git + cd ./sassc ``` -4. cd into the sassC repo +1. Type 'script/bootstrap' to clone [`libsass`](https://github.com/sass/libsass) and [`sass-spec`](https://github.com/sass/sass-spec) into the parent directory + ```bash + script/bootstrap + ``` +Alternately, if you already have libsass cloned or installed, you can edit your .bash_profile to include libsass directory: ```bash - cd ./sassc + export SASS_LIBSASS_PATH=/Users/you/path/libsass ``` -5. Type 'make' +1. Type 'make' ```bash make ``` -6. Job done! +1. Job done!