Skip to content

Commit

Permalink
Update test bootstrap script to use document environment vars
Browse files Browse the repository at this point in the history
We haved documented SASS_SPEC_PATH and SASS_SASSC_PATH environment
variables for user defined sass-spec and sassc locations respectively.

The bootstrap script is currently ignoring these.
  • Loading branch information
xzyfer committed Dec 28, 2016
1 parent 9b83147 commit 606a4c2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

script/branding

if [ ! -d "sass-spec" ]; then
git clone https://github.com/sass/sass-spec.git
: ${SASS_SPEC_PATH:="sass-spec"}
: ${SASS_SASSC_PATH:="sassc" }

if [ ! -d $SASS_SPEC_PATH ]; then
git clone https://github.com/sass/sass-spec.git $SASS_SPEC_PATH
fi
if [ ! -d "sassc" ]; then
git clone https://github.com/sass/sassc.git
if [ ! -d $SASS_SASSC_PATH ]; then
git clone https://github.com/sass/sassc.git $SASS_SASSC_PATH
fi

0 comments on commit 606a4c2

Please sign in to comment.