network-experiment/.devcontainer/postcreate.py

11 lines
326 B
Python
Executable File

#! /usr/bin/python
import argparse
import os
parser = argparse.ArgumentParser()
parser.add_argument('--build_type')
args = parser.parse_args()
print ('Executing post-create steps. Build type ', args.build_type)
os.system('conan install /workspaces/network-experiment -of /workspaces/build -s build_type=' + args.build_type)