From 5d0494e1b5c9016a5cc9e059c27dd9104df3c98d Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 4 Sep 2016 00:13:35 -0400 Subject: [PATCH] Add script/bootstrap to unix build instructions Reformatted the instruction list with GHFM ordered list --- docs/building/unix-instructions.md | 31 +++++++++++++----------------- 1 file changed, 13 insertions(+), 18 deletions(-) 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!