updating documentation

- giving things a better structure
- better documentation with the way things need to be as a standard
This commit is contained in:
Matthew Stobbs
2026-02-04 22:26:15 -07:00
parent 4e65d36b64
commit e231c6ae7a
15 changed files with 221 additions and 194 deletions

View File

@@ -4,11 +4,11 @@
block:
- name: Set build variables
ansible.builtin.set_fact:
git_path: "{{ d_tempdir.path }}/{{ name }}"
git_repo: "{{ repo }}"
git_depth: "{{ depth | default(1) }}"
git_recursive: "{{ recursive | default(true) }}"
git_version: "{{ version | default(omit) }}"
git_path: "{{ d_tempdir.path }}/{{ pkg.name }}"
git_repo: "{{ pkg.repo }}"
git_depth: "{{ pkg.depth | default(1) }}"
git_recursive: "{{ pkg.recursive | default(true) }}"
git_version: "{{ pkg.version | default(omit) }}"
- name: Fetch git repo
ansible.builtin.include_tasks:
@@ -16,9 +16,9 @@
- name: Build cargo release
ansible.builtin.command:
creates: "{{ bin_output }}"
chdir: "{{ git_path }}"
argv: "{{ [cargo, build] + cargo_build_flags }}"
creates: "{{ pkg.bin_output }}"
chdir: "{{ pkg.path }}"
argv: "{{ [cargo, build] + pkg.build_flags }}"
- name: Install cargo release
block: