ya2 · news · projects · code · about

refactoring of functional tests
[pmachines.git] / lib / tools / process_models.py
1 # usage: python lib/tools/process_models.py
2 from os import system, walk
3 from sys import executable
4
5
6 for root, _, fnames in walk('assets/models'):
7 for fname in [fname for fname in fnames if fname.endswith('.egg')]:
8 _fname = root + '/' + fname
9 system('egg-trans -nv 30 -o %s %s' % (_fname, _fname))
10 system(executable + ' lib/tools/apply_gloss.py ' + _fname)