From 4d1e359ca233201afd372cabe6c55c21b896e2ec Mon Sep 17 00:00:00 2001 From: Gilles Boccon-Gibod Date: Sun, 26 Apr 2020 18:50:49 -0700 Subject: [PATCH] wip --- tasks/build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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")