init: add a command to source the (expected) venv

This commit is contained in:
Danny Robson 2020-10-30 14:31:16 +10:00
parent 9b17736d76
commit ae4f48dcbc
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ if __name__ == '__main__':
prb = os.path.join(profile_dir, conan_build_profile)
cmds = [
"[[ -v VIRTUAL_ENV ]]",
f"{{ [[ -v VIRTUAL_ENV ]] || source {source_dir}/venv/bin/activate; }}",
f"conan install {source_dir} -pr:h {prh} -pr:b {prb} --build=missing",
f"conan install {source_dir} -pr:h {prh} -pr:b {prb} --build=missing -g deploy -if deps/",
f"cmake {source_dir} {' '.join(accumulated)}",