summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'build.py')
-rw-r--r--build.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/build.py b/build.py
new file mode 100644
index 0000000..9b5a543
--- /dev/null
+++ b/build.py
@@ -0,0 +1,13 @@
+from fbs.cmdline import command
+from os.path import dirname
+import subprocess
+
+import fbs.cmdline
+
+@command
+def compileResources():
+ subprocess.call("pyrcc5 -o src/main/python/resources/resources.py src/main/ui/resources.rcc", shell=True)
+
+if __name__ == '__main__':
+ project_dir = dirname(__file__)
+ fbs.cmdline.main(project_dir) \ No newline at end of file