diff options
author | Blaine | 2020-06-20 14:55:08 +0530 |
---|---|---|
committer | Blaine | 2020-06-20 14:55:08 +0530 |
commit | 54c3ce344d8d4b263e6c6f98dd072293a1a74b55 (patch) | |
tree | cac3e0949b354f9473c652d4c4ea5abe244609c6 | |
parent | f8519766d7f7fc70180411f912ed8ca15abb6a95 (diff) | |
download | Chemical-PFD-54c3ce344d8d4b263e6c6f98dd072293a1a74b55.tar.gz Chemical-PFD-54c3ce344d8d4b263e6c6f98dd072293a1a74b55.tar.bz2 Chemical-PFD-54c3ce344d8d4b263e6c6f98dd072293a1a74b55.zip |
add build scripts
-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 |