blob: 65ecda3efa1c124c8eb2eb21bf2159a8e5ec7c04 [file] [log] [blame]
import os
from buildstream import _yaml
# Shared function to configure the project.conf inline
#
def configure_project(path, config):
config["name"] = "test"
config["min-version"] = "2.0"
config["element-path"] = "elements"
_yaml.roundtrip_dump(config, os.path.join(path, "project.conf"))