Fix biicode build script

This commit is contained in:
Victor Zverovich 2015-03-04 09:24:54 -08:00
parent 14d1fb561f
commit 4ff6ab396c

View File

@ -5,10 +5,9 @@ import glob, os, shutil
from subprocess import check_call
project_dir = 'biicode_project'
check_call(['bii', 'init', project_dir], env=env)
check_call(['bii', 'init', project_dir])
cppformat_dir = os.path.join(project_dir, 'blocks/vitaut/cppformat')
shutil.copytree('.', cppformat_dir,
ignore=shutil.ignore_patterns('biicode_project', cmake_dir))
shutil.copytree('.', cppformat_dir, ignore=shutil.ignore_patterns(project_dir))
for f in glob.glob('support/biicode/*'):
shutil.copy(f, cppformat_dir)
check_call(['bii', 'cpp:build'], cwd=project_dir, env=env)
check_call(['bii', 'cpp:build'], cwd=project_dir)