Skip to content

Commit 1deb36f

Browse files
committed
update for debug mode, copy files after build
1 parent 9677320 commit 1deb36f

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

setup.py

+4-10
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,10 @@ def start_build(verbose=False, mode='release', feedback=True, worker_num=2, low_
130130
print(cmd)
131131
os.system(cmd)
132132

133-
if mode == "release":
134-
cmd = "xmake -j {} -b {} core".format(worker_num,
135-
"-v -D" if verbose else "")
136-
print(cmd)
137-
os.system(cmd)
138-
else:
139-
cmd = "xmake -j {} -b {} hikyuu".format(worker_num,
140-
"-v -D" if verbose else "")
141-
print(cmd)
142-
os.system(cmd)
133+
cmd = "xmake -j {} -b {} core".format(worker_num,
134+
"-v -D" if verbose else "")
135+
print(cmd)
136+
os.system(cmd)
143137

144138
# 保存当前的编译信息
145139
save_current_compile_info(current_compile_info)

0 commit comments

Comments
 (0)