"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "devscripts/git-hooks/post-checkout" between
cheetah3-3.2.1.tar.gz and cheetah3-3.2.2.tar.gz

About: Cheetah3 is a template engine and code generation tool for e.g. for Web development or Java, SQL, LaTeX, form email ... (written in Python).

post-checkout  (cheetah3-3.2.1):post-checkout  (cheetah3-3.2.2)
skipping to change at line 12 skipping to change at line 12
# post-checkout hook: compile python files to byte code # post-checkout hook: compile python files to byte code
prev_HEAD="$1" prev_HEAD="$1"
new_HEAD="$2" new_HEAD="$2"
new_branch="$3" new_branch="$3"
if [ "$new_branch" = 1 ]; then if [ "$new_branch" = 1 ]; then
# if branch was changed - remove old bytecode files and outdated docs # if branch was changed - remove old bytecode files and outdated docs
find . -name '*.py[co]' -delete && find . -name '*.py[co]' -delete &&
rm -rf docs/html rm -rf docs/_build/html docs/html
fi && fi &&
python -m compileall -q -x '\.tox/.+' . && python -m compileall -q -x '\.tox/.+' . &&
python -O -m compileall -q -x '\.tox/.+' . python -O -m compileall -q -x '\.tox/.+' .
exit 0 exit 0
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)