1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00
twbs--bootstrap-sass/update-bootstrap.sh

20 lines
579 B
Bash
Raw Normal View History

#!/bin/bash
ROOT=`pwd`"/vendor/assets"
TMP='tmp/sass-twitter-bootstrap'
# Pull down sass-twitter-bootstrap sources
git clone https://github.com/jlong/sass-twitter-bootstrap.git tmp/sass-twitter-bootstrap
# Copy lib/ to stylesheets/
cp -r $TMP/lib/* $ROOT/stylesheets
# Copy js/ to javascripts/
cp -r $TMP/js/* $ROOT/javascripts
# Copy img/ to images/
cp -r $TMP/img/* $ROOT/images
2012-11-04 09:53:50 -05:00
# Remove tests
rm -r $ROOT/javascripts/tests
rm -r $ROOT/stylesheets/tests
2012-11-01 09:26:20 -04:00
# Patch the asset-url in _variables.scss
patch -f vendor/assets/stylesheets/_variables.scss < asseturl.patch
rm -rf $TMP