feat: Initial roles

This commit is contained in:
2024-11-26 14:26:58 -05:00
parent 3a4285a397
commit 916e62f6e6
19 changed files with 203 additions and 44 deletions

View File

@@ -0,0 +1,31 @@
---
build_dir_name: ".build"
build_dir: "{{ project_dir }}/{{ build_dir_name }}"
project_dir: "{{ lookup('env', 'PWD') }}"
project_vars_dir: "{{ project_dir }}"
# template_dir:
# path: "/path/to/template/dir
# vars: "repo_vars"
# repo: (optional if using a repo as a template)
template_dir:
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
# instead of a branch.
#
# repo:
# url: "https://example.com/repo.git"
# version: "main"
repo: {}
copy_on_build:
- "{{ template_dir.path }}/head.tex"
- "{{ template_dir.path }}/Definitions.md"
template_on_build:
- "{{ project_dir }}/Report.md"
- "{{ template_dir.path }}/footer.tex"