/[projects]/misc/xbmc/plugin.video.todic/test.sh
ViewVC logotype

Annotation of /misc/xbmc/plugin.video.todic/test.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3254 - (hide annotations) (download) (as text)
Thu Feb 28 11:26:21 2019 UTC (5 years, 3 months ago) by torben
File MIME type: application/x-sh
File size: 315 byte(s)
cleanup after validation of python3
1 torben 3154 #!/bin/bash
2    
3     lines=`grep -P '\t' default.py | grep -v -e '^#' | wc -l`
4     if [ "$lines" != "0" ] ; then
5     echo Found lines with tab:
6     grep -n -P '\t' default.py
7     exit 1
8     fi
9    
10     echo "Checking syntax ..."
11     python -m py_compile default.py
12 torben 3254 rm -rf *.pyc __pycache__
13 torben 3154
14 torben 3246 python3 -m py_compile default.py
15 torben 3254 rm -rf *.pyc __pycache__

  ViewVC Help
Powered by ViewVC 1.1.20