From 44adbf23b5476ce26f807f956a21f27f07311a10 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Mon, 23 Feb 2015 14:12:44 -0700 Subject: [PATCH] Cleanup "autogen/" if we have successful build This way, we only leave around autogenerated files if the build fails (which is reasonable IMO, since that's when you'd need them for debugging the build failure). Signed-off-by: Andrew "Tianon" Page --- project/make.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/project/make.sh b/project/make.sh index a7f04cd90c..ec880df39c 100755 --- a/project/make.sh +++ b/project/make.sh @@ -265,6 +265,9 @@ main() { bundle $SCRIPTDIR/make/$bundle echo done + + # if we get all the way through successfully, let's delete our autogenerated code! + rm -r autogen } main "$@"