Show More
@@ -3,7 +3,12 b'' | |||||
3 | git submodule init |
|
3 | git submodule init | |
4 | git submodule update |
|
4 | git submodule update | |
5 |
|
5 | |||
6 | PREVIOUS_HEAD=$1 |
|
6 | if [[ "$(basename $0)" == "post-merge" ]]; then | |
|
7 | PREVIOUS_HEAD=ORIG_HEAD | |||
|
8 | else | |||
|
9 | PREVIOUS_HEAD=$1 | |||
|
10 | fi | |||
|
11 | ||||
7 | # if style changed (and less/fabric available), rebuild sourcemaps |
|
12 | # if style changed (and less/fabric available), rebuild sourcemaps | |
8 | if [[ |
|
13 | if [[ | |
9 | ! -z "$(git diff $PREVIOUS_HEAD IPython/html/static/style/ipython.min.css)" |
|
14 | ! -z "$(git diff $PREVIOUS_HEAD IPython/html/static/style/ipython.min.css)" | |
@@ -13,5 +18,5 b' if [[' | |||||
13 | ]]; then |
|
18 | ]]; then | |
14 | echo "rebuilding sourcemaps" |
|
19 | echo "rebuilding sourcemaps" | |
15 | cd IPython/html |
|
20 | cd IPython/html | |
16 | fab css |
|
21 | fab css || echo "failed to compile css" | |
17 | fi |
|
22 | fi |
General Comments 0
You need to be logged in to leave comments.
Login now