From 69e63c52c90527faad59b9ecfa997a3cff53efea Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Fri, 5 Nov 2021 00:30:49 +1100 Subject: [PATCH] Write project.yaml for external generator. (#6764) --- infra/templates.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/infra/templates.py b/infra/templates.py index db4070ea1..efdf5ab21 100755 --- a/infra/templates.py +++ b/infra/templates.py @@ -17,7 +17,7 @@ PROJECT_YAML_TEMPLATE = """\ homepage: "" -language: %(language)s" +language: %(language)s primary_contact: "" main_repo: "https://path/to/main/repo.git" """ @@ -101,6 +101,10 @@ EXTERNAL_BUILD_TEMPLATE = """\ # $LIB_FUZZING_ENGINE /path/to/library.a """ +EXTERNAL_PROJECT_YAML_TEMPLATE = """\ +language: %(language)s +""" + TEMPLATES = { 'build.sh': BUILD_TEMPLATE, 'Dockerfile': DOCKER_TEMPLATE, @@ -109,5 +113,6 @@ TEMPLATES = { EXTERNAL_TEMPLATES = { 'build.sh': EXTERNAL_BUILD_TEMPLATE, - 'Dockerfile': EXTERNAL_DOCKER_TEMPLATE + 'Dockerfile': EXTERNAL_DOCKER_TEMPLATE, + 'project.yaml': EXTERNAL_PROJECT_YAML_TEMPLATE }