mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Fix biicode build script
This commit is contained in:
parent
14d1fb561f
commit
4ff6ab396c
@ -5,10 +5,9 @@ import glob, os, shutil
|
|||||||
from subprocess import check_call
|
from subprocess import check_call
|
||||||
|
|
||||||
project_dir = 'biicode_project'
|
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')
|
cppformat_dir = os.path.join(project_dir, 'blocks/vitaut/cppformat')
|
||||||
shutil.copytree('.', cppformat_dir,
|
shutil.copytree('.', cppformat_dir, ignore=shutil.ignore_patterns(project_dir))
|
||||||
ignore=shutil.ignore_patterns('biicode_project', cmake_dir))
|
|
||||||
for f in glob.glob('support/biicode/*'):
|
for f in glob.glob('support/biicode/*'):
|
||||||
shutil.copy(f, cppformat_dir)
|
shutil.copy(f, cppformat_dir)
|
||||||
check_call(['bii', 'cpp:build'], cwd=project_dir, env=env)
|
check_call(['bii', 'cpp:build'], cwd=project_dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user