mirror of
https://github.com/twbs/bootstrap-sass.git
synced 2022-11-09 12:27:02 -05:00
Improved script to do all necessary actions for upgrade.
Now automatically takes care of path changes for the includes in bootstrap.scss and responsive.scss (From #258)
This commit is contained in:
parent
794d52a3cd
commit
b80a5ff7da
1 changed files with 5 additions and 1 deletions
|
@ -13,9 +13,13 @@ cp -r $TMP/js/* $ROOT/javascripts
|
|||
cp -r $TMP/img/* $ROOT/images
|
||||
# Remove tests
|
||||
rm -r $ROOT/javascripts/tests
|
||||
rm -r $ROOT/stylesheets/tests
|
||||
rm -r $ROOT/stylesheets/bootstrap/tests
|
||||
|
||||
# Patch the asset-url in _variables.scss
|
||||
patch -f vendor/assets/stylesheets/bootstrap/_variables.scss < asseturl.patch
|
||||
|
||||
# Patch paths in bootstrap.scss and responsive.scss
|
||||
sed -i .bak 's_@import \"_@import \"bootstrap/_g' $ROOT/stylesheets/bootstrap/{bootstrap,responsive}.scss
|
||||
rm $ROOT/stylesheets/bootstrap/*.bak
|
||||
|
||||
rm -rf $TMP
|
Loading…
Add table
Reference in a new issue