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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3261 - (show annotations) (download) (as text)
Fri Feb 19 21:39:29 2021 UTC (3 years, 2 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 #!/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 rm -rf *.pyc __pycache__
13
14 python3 -m py_compile default.py
15 rm -rf *.pyc __pycache__

  ViewVC Help
Powered by ViewVC 1.1.20