We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb34771 commit e72d798Copy full SHA for e72d798
scripts/release.py
@@ -311,9 +311,19 @@ def compile_release():
311
cross_compile_compiler()
312
313
314
+def ensure_temp():
315
+ temp_path = os.path.join(ROOT, CONFIG.temp)
316
+ if os.path.isdir(temp_path):
317
+ return
318
+ os.mkdir(temp_path)
319
+ if not os.path.isdir(temp_path):
320
+ print(Colors.fail("Failed to create temp_path:"), temp_path)
321
+
322
323
if __name__ == "__main__":
324
# Set work directory to be that of project root.
325
os.chdir(ROOT)
326
+ ensure_temp()
327
compile_release()
328
print("-" * 40)
329
build_releases()
0 commit comments