From 92f468bfa431bf0c8a44120704baefa2b5066068 Mon Sep 17 00:00:00 2001 From: anulax1225 Date: Sat, 12 Oct 2024 02:04:33 +0200 Subject: [PATCH] Remove compile commands --- pycompile | 1 + src/ToolChaine.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 pycompile diff --git a/pycompile b/pycompile new file mode 100644 index 0000000..97b7562 --- /dev/null +++ b/pycompile @@ -0,0 +1 @@ +pyinstaller src/main.py --onefile --distpath ./bin -n bakasable \ No newline at end of file diff --git a/src/ToolChaine.py b/src/ToolChaine.py index 45e5c37..ed6929d 100644 --- a/src/ToolChaine.py +++ b/src/ToolChaine.py @@ -47,6 +47,7 @@ def build(config) -> None: Command.exec("premake5 gmake2") Command.exec("premake5 export-compile-commands") Command.exec(f"mv ./compile_commands/{config.lower()}.json ./compile_commands.json") + Command.exec("rm -rf ./compile_commands") Command.exec(f"make config={config.lower()}") case _: Log.error("Platform not supported")