blob: 91a66fbfb7cdfad7642bc9d11ddcfe07226717e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
from fbs.cmdline import command
from os.path import dirname
import subprocess
import sys
import fbs.cmdline
import fbs
sys.path.append('src/main/python/')
@command
def compileResources():
subprocess.call("pyrcc5 -o src/main/python/resources/resources.py src/main/ui/resources.rcc", shell=True)
@command
def symbolGen():
from utils import custom
custom.main()
@command
def build():
compileResources()
subprocess.call("fbs freeze", shell=True)
if __name__ == '__main__':
project_dir = dirname(__file__)
fbs.cmdline.main(project_dir)
|