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")