refactor: move working directory to projects/ for web

This commit is contained in:
Dobin
2024-03-29 19:18:57 +00:00
parent a6dbbe69ac
commit 70eb0bf798
16 changed files with 468 additions and 50 deletions
+8 -3
View File
@@ -13,15 +13,20 @@ logger = logging.getLogger("Helper")
SHC_VERIFY_SLEEP = 0.1
def clean_files(settings):
logger.info("--( Remove old files")
def clean_tmp_files():
files_to_clean = [
# compile artefacts in current working dir
"main-clean.obj",
"main.obj",
"mllink$.lnk",
]
for file in files_to_clean:
pathlib.Path(file).unlink(missing_ok=True)
def clean_files(settings):
logger.info("--( Remove old files")
files_to_clean = [
# temporary files
settings.main_c_path,
settings.main_asm_path,