Remove the build directory beforing rebuilding in cibuild.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 26 Nov 2013 01:39:24 +0000 (09:39 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 26 Nov 2013 01:39:24 +0000 (09:39 +0800)
script/cibuild

index 7a6bbf9..ae1b1fd 100755 (executable)
@@ -4,11 +4,15 @@ import os
 import subprocess
 import sys
 
+from lib.util import rm_rf
+
 
 SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 
 
 def main():
+  rm_rf(os.path.join(SOURCE_ROOT, 'out'))
+
   run_script('bootstrap.py')
   run_script('cpplint.py')
   run_script('pylint.py')