From 54c3ce344d8d4b263e6c6f98dd072293a1a74b55 Mon Sep 17 00:00:00 2001 From: Blaine Date: Sat, 20 Jun 2020 14:55:08 +0530 Subject: add build scripts --- build.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.py b/build.py index 9b5a543..d096792 100644 --- a/build.py +++ b/build.py @@ -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 -- cgit