分隔符
This commit is contained in:
parent
d81efde07c
commit
f590637a3f
6
main.py
6
main.py
|
@ -1,10 +1,16 @@
|
||||||
|
import os
|
||||||
|
|
||||||
from scripts.build import run
|
from scripts.build import run
|
||||||
from scripts.context import Context
|
from scripts.context import Context
|
||||||
|
from utils import SystemUtils
|
||||||
from utils.logger_utils import init
|
from utils.logger_utils import init
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
context = Context.from_json(open("build_config.json", "r").read())
|
context = Context.from_json(open("build_config.json", "r").read())
|
||||||
|
|
||||||
|
if SystemUtils.is_windows():
|
||||||
|
context.project_original_path = context.project_original_path.replace("/", os.sep)
|
||||||
|
pass
|
||||||
logger = init()
|
logger = init()
|
||||||
|
|
||||||
run(context)
|
run(context)
|
||||||
|
|
Loading…
Reference in New Issue