feat: Working on not needing to supply template path when using a repo in setup-project

This commit is contained in:
2024-11-27 11:53:46 -05:00
parent e81d9b8f0c
commit ee91b060eb
4 changed files with 92 additions and 9 deletions

View File

@@ -1,12 +1,14 @@
---
# TODO: When using a template repo, we should probably clone it into
# the project directory somewhere.
# template_dir:
# path: "/path/to/template/dir
# vars: "repo_vars"
# repo: (optional if using a repo as a template)
template:
path: "/path/to/template/dir"
vars: "repo_vars"
#path: "/path/to/template/dir"
#vars: "repo_vars"
# When using a repository as a template dir. In general, it's
# probably best to pin to a particular version of the repo template
@@ -15,10 +17,10 @@ template:
# repo:
# url: "https://example.com/repo.git"
# version: "main"
repo: {}
#repo: {}
# The output directory to setup a project in.
output_dir: "{{ lookup('env', 'PWD') }}"
# The preject directory to setup in.
project_dir: "{{ lookup('env', 'PWD') }}"
# Files that are copied from the template directory to the output
# directory.