From 1fc9ef33db04cf2009abc16870478808a938d902 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 26 Nov 2013 09:39:24 +0800 Subject: [PATCH] Remove the build directory beforing rebuilding in cibuild. --- script/cibuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/cibuild b/script/cibuild index 7a6bbf9757..ae1b1fdbfe 100755 --- a/script/cibuild +++ b/script/cibuild @@ -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')