blob: fbf69a0f24453b24c240f13316370fc2456d7195 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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/bootstrap3/assets/js
ln -sf ../../../../../../bower_components/jquery/dist/* .
git add .
popd
# Link colorbox into bootstrap theme
pushd nikola/data/themes/bootstrap3/assets/js
ln -sf ../../../../../../bower_components/jquery-colorbox/jquery.colorbox.js .
git add jquery.colorbox.js
popd
pushd nikola/data/themes/bootstrap3/assets/js/colorbox-i18n
ln -sf ../../../../../../../bower_components/jquery-colorbox/i18n/* .
git add .
popd
pushd nikola/data/themes/bootstrap3/assets/css/
ln -sf ../../../../../../bower_components/jquery-colorbox/example3/colorbox.css .
git add colorbox.css
popd
pushd nikola/data/themes/bootstrap3/assets/css/images/
ln -sf ../../../../../../../bower_components/jquery-colorbox/example3/images/* .
git add .
popd
scripts/generate_symlinked_list.sh
|