Remove the build directory beforing rebuilding in cibuild.
This commit is contained in:
parent
858f21a69c
commit
1fc9ef33db
1 changed files with 4 additions and 0 deletions
|
@ -4,11 +4,15 @@ import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
from lib.util import rm_rf
|
||||||
|
|
||||||
|
|
||||||
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
rm_rf(os.path.join(SOURCE_ROOT, 'out'))
|
||||||
|
|
||||||
run_script('bootstrap.py')
|
run_script('bootstrap.py')
|
||||||
run_script('cpplint.py')
|
run_script('cpplint.py')
|
||||||
run_script('pylint.py')
|
run_script('pylint.py')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue