updating documentation
- giving things a better structure - better documentation with the way things need to be as a standard
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user