need to test the alacritty build to make sure it's ready

This commit is contained in:
Matthew Stobbs
2026-01-24 14:25:33 -07:00
parent 1a8f402c68
commit fe364e2b6d
3 changed files with 42 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
# vim: set filetype=yaml.ansible :
---
- name: Configure alacritty # {{{
when: __alacritty_configured is undefined
block:
- name: Set basic variables
ansible.builtin.set_fact:
@@ -41,10 +42,12 @@
bin_name: "alacritty"
install_prefix: "/usr/local"
install_files:
share/pixmaps:
- extra/logo/alacritty-term.svg
desktop:
- extra/linux/Alacritty.desktop
extra/logo/alacritty-term.svg: share/pixmaps/Alacritty.svg
desktop_files:
- extra/linux/Alacritty.desktop
files_list:
- bin/alacritty
- share/pixmaps/Alacritty.svg
- name: Set alacritty install options
block:
@@ -99,17 +102,19 @@
block:
- name: Append alacritty to pkg_cargo
when:
- method == 'source'
- alacritty_method == 'source'
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + alacritty_build_deps }}"
pkg_cargo: "{{ pkg_cargo + [alacritty_src_install] }}"
pkg_cargo_build: "{{ pkg_cargo_build + [alacritty_src_install] }}"
- name: Append alacritty to pkg_cask
when:
- alacritty.method == 'cask'
- alacritty_method == 'cask'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + [alacritty_pkgname] }}"
- name: Set alacritty_configured
- name: Append alacritty to sys_pkg
when:
- alacritty_method == 'package'
ansible.builtin.set_fact:
alacritty_configured: true
pkg_sys: "{{ pkg_sys + [alacritty_pkgname] }}"