"Fossies" - the Fresh Open Source Software Archive

Member "cheetah3-3.2.6.post2/devscripts/git-hooks/post-rewrite" (20 Apr 2021, 169 Bytes) of package /linux/www/cheetah3-3.2.6.post2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 # post-rewrite hook that compiles python files to byte code
    4 
    5 python    -m compileall -q -x '\.tox/.+' . &&
    6 python -O -m compileall -q -x '\.tox/.+' .
    7 
    8 exit 0