Write project.yaml for external generator. (#6764)

This commit is contained in:
Oliver Chang 2021-11-05 00:30:49 +11:00 committed by GitHub
parent 110524fa1e
commit 69e63c52c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

@ -17,7 +17,7 @@
PROJECT_YAML_TEMPLATE = """\
homepage: "<your_project_homepage>"
language: %(language)s"
language: %(language)s
primary_contact: "<primary_contact_email>"
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
}