blob: f1c8c41b8ae318e2de926aae7c4e90bc1b3ac894 [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['element-path'] = 'elements'
_yaml.roundtrip_dump(config, os.path.join(path, 'project.conf'))