##// END OF EJS Templates
TEST: Fix invalid ast transformer in test....
TEST: Fix invalid ast transformer in test. The ast transformer used in test_interactiveshell.TestAstTransformError had an incorrect method signature, causing it to raise a TypeError when called, rather than the expected ValueError. This change makes the test transformer actually throw the expected error.

File last commit:

r17605:67a0a4ce
r17797:722e8dff
Show More
post-checkout
22 lines | 561 B | text/plain | TextLexer
#!/bin/bash
git submodule init
git submodule update
if [[ "$(basename $0)" == "post-merge" ]]; then
PREVIOUS_HEAD=ORIG_HEAD
else
PREVIOUS_HEAD=$1
fi
# if style changed (and less/fabric available), rebuild sourcemaps
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)
&& ! -z $(which 2>/dev/null fab)
]]; then
echo "rebuilding sourcemaps"
cd IPython/html
fab css || echo "failed to compile css"
fi