diff --git a/tasks/build.py b/tasks/build.py index 48a5281f..72b1ae0a 100644 --- a/tasks/build.py +++ b/tasks/build.py @@ -18,6 +18,10 @@ def build(ctx, clean = False): ctx.run(command) ctx.run("cmake --build . --config Release") -@task(build) +@task(post=[build]) +def rebuild(ctx, clean = False): + ctx.run("rm -rf cmakebuild") + +@task(rebuild) def sdk(ctx): ctx.run("python3 Scripts/SdkPackager.py")