Source

orange / install-scripts / checkSyntax.btm

Full commit
Janez Demšar 6e71ed6 







Janez Demšar 530aec8 
1
2
3
4
5
6
7
8
9
@echo off
alias check=\python%1\python -c "import py_compile; py_compile.compile('%%@REPLACE[\,/,%%1]')"

for %f in (*.py) check %f
cd orangeCanvas
for %f in (*.py;*.pyw) check %f
cd ..\orangeWidgets
for /r %f in (*.py;*.pyw) check %f
cd ..