diff options
Diffstat (limited to 'build.py')
-rw-r--r-- | build.py | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -3,11 +3,21 @@ from os.path import dirname import subprocess import fbs.cmdline +import fbs @command def compileResources(): subprocess.call("pyrcc5 -o src/main/python/resources/resources.py src/main/ui/resources.rcc", shell=True) +@command +def symbolGen(): + exec(open('src/main/python/utils/custom.py').read()) + +@command +def build(): + compileResources() + subprocess.call("fbs freeze", shell=True) + if __name__ == '__main__': project_dir = dirname(__file__) fbs.cmdline.main(project_dir)
\ No newline at end of file |