beremiz

add shell script to test Beremiz python code

2017-08-22, Andrey Skvortsov
b6d47158d68a
add shell script to test Beremiz python code

currently only codestyle checking is done using pycodestyle (ex-pep8).
Later checks by flake8 and pylint maybe enabled.
To generate message.pot file:
python mki18n.py -p --domain=Beremiz
To generate .mo files for all languages:
python mki18n.py -m --moTarget=../locale --domain=Beremiz
To generate app.fil:
find .. -name "*.py" -exec grep -q '_(' {} ';' -print -o -name "*XSD*" -print -o -name "*.csv" -print | grep -v '/build/' | grep -v '/pyjs/' > app.fil
echo "../plcopen/Additional_Function_Blocks.xml" >> app.fil
echo "../plcopen/Standard_Function_Blocks.xml" >> app.fil