fixed alacritty and yazi cargo_build

This commit is contained in:
Matthew Stobbs
2026-04-13 03:52:50 -06:00
parent c97dfa1aa3
commit ae1809a7ee
4 changed files with 54 additions and 33 deletions

View File

@@ -5,9 +5,10 @@
yazi:
methods:
- source
version: v26.1.22
version: 26.1.22
git:
repo: https://github.com/sxyazi/yazi.git
version: v26.1.22
pkgname: yazi
pkg_depends:
- fd
@@ -53,20 +54,23 @@
- name: Configure yazi cargo build
ansible.builtin.set_fact:
yazi_src_install:
cargo_build_flags:
- --release --locked
build_flags:
- --release
- --locked
name: "{{ yazi.pkgname }}"
repo: "{{ yazi.git.repo }}"
source_dir: "{{ path_source }}/{{ yazi.pkgname }}"
git: "{{ yazi.git }}"
source_dir: "{{ d_cache.path }}/{{ yazi.pkgname }}"
version: "{{ yazi.version }}"
bin_output: "target/release/yazi"
bin_name: "yazi"
install_prefix: "{{ install_prefix }}"
install_files:
target/release/ya: bin/ya
files_list:
- bin/yazi
- bin/ya
files:
- to: bin/yazi
from: target/release/yazi
mode: '0755'
- to: bin/ya
from: target/release/ya
mode: '0755'
- name: Append yazi-fm pkg_deps
loop: "{{ yazi.pkg_depends }}"