浏览代码

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 <admwiggin@gmail.com>
Tianon Gravi 10 年之前
父节点
当前提交
44adbf23b5
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      project/make.sh

+ 3 - 0
project/make.sh

@@ -265,6 +265,9 @@ main() {
 		bundle $SCRIPTDIR/make/$bundle
 		bundle $SCRIPTDIR/make/$bundle
 		echo
 		echo
 	done
 	done
+
+	# if we get all the way through successfully, let's delete our autogenerated code!
+	rm -r autogen
 }
 }
 
 
 main "$@"
 main "$@"