fix fd and yazi
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
## force_git: _bool_ optional, default true. Force clone, overwriting existing dir
|
||||
## recursive: _bool_ optional, default true. Do a recursive clone
|
||||
## version: _string_ optional, default 'latest'. Version to checkout and build
|
||||
## locked: _bool_ optional, default 'false'
|
||||
## build_flags: _list[str]_ optional. If set, will append these to the build command
|
||||
---
|
||||
- name: Cargo source install helper
|
||||
@@ -24,9 +25,14 @@
|
||||
ansible.builtin.include_tasks: helpers/git.yml
|
||||
|
||||
- name: Build cargo release
|
||||
ansible.builtin.command:
|
||||
chdir: "{{ pkg.source_dir }}"
|
||||
argv: "{{ ['cargo', 'build'] + pkg.build_flags }}"
|
||||
become: "{{ install_become }}"
|
||||
become_user: "{{ install_become_user }}"
|
||||
community.general.cargo:
|
||||
directory: "{{ pkg.source_dir }}"
|
||||
path: "{{ install_prefix }}"
|
||||
name: "{{ pkg.name }}"
|
||||
version: "{{ pkg.version }}"
|
||||
locked: "{{ pkg.locked }}"
|
||||
|
||||
- name: Clean existing install
|
||||
vars:
|
||||
|
||||
Reference in New Issue
Block a user