##// END OF EJS Templates
stop %run foo.ipynb on exception...
stop %run foo.ipynb on exception matches `Run All` behavior

File last commit:

r19410:9639b1c3
r19937:8488a166
Show More
post-checkout
22 lines | 567 B | text/plain | TextLexer
Thomas Kluyver
Git hooks use bash specific syntax
r17605 #!/bin/bash
MinRK
add git hooks for submodules...
r10551
git submodule init
git submodule update
MinRK
attempt to regen source maps in git-hooks...
r17335
MinRK
minor tweak to git hooks...
r17361 if [[ "$(basename $0)" == "post-merge" ]]; then
PREVIOUS_HEAD=ORIG_HEAD
else
PREVIOUS_HEAD=$1
fi
MinRK
use invoke instead of fabric...
r18351 # if style changed (and less/invoke available), rebuild sourcemaps
MinRK
attempt to regen source maps in git-hooks...
r17335 if [[
! -z "$(git diff $PREVIOUS_HEAD IPython/html/static/style/ipython.min.css)"
&& ! -z "$(git diff $PREVIOUS_HEAD IPython/html/static/style/style.min.css)"
&& ! -z $(which 2>/dev/null lessc)
MinRK
use invoke instead of fabric...
r18351 && ! -z $(which 2>/dev/null invoke)
MinRK
attempt to regen source maps in git-hooks...
r17335 ]]; then
echo "rebuilding sourcemaps"
cd IPython/html
Thomas Kluyver
Git hooks need to use invoke, not fab
r19410 invoke css || echo "failed to compile css"
MinRK
attempt to regen source maps in git-hooks...
r17335 fi