Skip to content

Commit

Permalink
Add script/bootstrap to unix build instructions
Browse files Browse the repository at this point in the history
Reformatted the instruction list with GHFM ordered list
  • Loading branch information
nschonni committed Sep 4, 2016
1 parent 08a6b2a commit 5d0494e
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions docs/building/unix-instructions.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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!

0 comments on commit 5d0494e

Please sign in to comment.