diff options
| author | 2015-07-08 07:35:06 -0300 | |
|---|---|---|
| committer | 2015-07-08 07:35:06 -0300 | |
| commit | 055d72d76b44b0e627c8a17c48dbecd62e44197b (patch) | |
| tree | e2c8d5475477c46115461fe9547c1ee797873635 /scripts/update-bower.sh | |
| parent | 61f3aad02cd6492cb38e41b66f2ed8ec56e98981 (diff) | |
| parent | b0b24795b24ee6809397fbbadf42f31f310a219f (diff) | |
Merge tag 'upstream/7.6.0'
Upstream version 7.6.0
Diffstat (limited to 'scripts/update-bower.sh')
| -rwxr-xr-x | scripts/update-bower.sh | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/scripts/update-bower.sh b/scripts/update-bower.sh new file mode 100755 index 0000000..d077434 --- /dev/null +++ b/scripts/update-bower.sh @@ -0,0 +1,57 @@ +#!/bin/bash + +# Update all bower packages +bower update + +# Link bootstrap3 theme to bootstrap +pushd nikola/data/themes/bootstrap3/assets/js/ +ln -sf ../../../../../../bower_components/bootstrap/dist/js/*js . +rm npm.js +git add . +popd + +pushd nikola/data/themes/bootstrap3/assets/css/ +ln -sf ../../../../../../bower_components/bootstrap/dist/css/* . +git add . +popd + +pushd nikola/data/themes/bootstrap3/assets/fonts/ +ln -sf ../../../../../../bower_components/bootstrap/dist/fonts/* . +git add . +popd + +# Link moment.js to base theme +pushd nikola/data/themes/base/assets/js +ln -sf ../../../../../../bower_components/moment/min/moment-with-locales.min.js . +git add moment-with-locales.min.js +popd + +# Link jQuery to bootstrap theme +pushd nikola/data/themes/bootstrap/assets/js +ln -sf ../../../../../../bower_components/jquery/dist/* . +git add . +popd + + +# Link colorbox into bootstrap theme +pushd nikola/data/themes/bootstrap/assets/js +ln -sf ../../../../../../bower_components/jquery-colorbox/jquery.colorbox.js . +git add jquery.colorbox.js +popd + +pushd nikola/data/themes/bootstrap/assets/js/colorbox-i18n +ln -sf ../../../../../../../bower_components/jquery-colorbox/i18n/* . +git add . +popd + +pushd nikola/data/themes/bootstrap/assets/css/ +ln -sf ../../../../../../bower_components/jquery-colorbox/example3/colorbox.css . +git add colorbox.css +popd + +pushd nikola/data/themes/bootstrap/assets/css/images/ +ln -sf ../../../../../../../bower_components/jquery-colorbox/example3/images/* . +git add . +popd + +scripts/generate_symlinked_list.sh |
