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