summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.py10
1 files changed, 10 insertions, 0 deletions
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