/[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 3261 - (hide annotations) (download) (as text)
Fri Feb 19 21:39:29 2021 UTC (3 years, 3 months ago) by torben
File MIME type: application/x-sh
File size: 316 byte(s)
v1.9.0 support kodi 19 / python3
breaks compability with older versions !


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 torben 3261 #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