Commit ccdf02de authored by Peter Hutterer's avatar Peter Hutterer
Browse files

Rename the templates to be more expressive



Just "template.tmpl" is too generic, "distribution-template.tmpl" sticks out
more to illustrate that it is indeed a distribution template.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 97dd439a
......@@ -43,13 +43,13 @@ if __name__ == '__main__':
# generate the distribution's template file,
# e.g. /templates/alpine.yml
template = src_folder / 'template.tmpl'
template = src_folder / 'distribution-template.tmpl'
dest = Path('templates') / f'{name}.yml'
config = [(f'{globals_file}', ''), (f'{distrib}', f'{name}')]
generate_template(configs=config, dest=dest, template=template)
# generate our CI file, e.g. /.gitlab-ci/alpine-ci.yml
template = src_folder / 'template-ci.tmpl'
template = src_folder / 'distribution-template-ci.tmpl'
dest = ci_folder / f'{name}-ci.yml'
generate_template(configs=config, dest=dest, template=template)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment