documenting archive, adding zig helper
This commit is contained in:
@@ -93,6 +93,8 @@
|
||||
methods: "{{ ghostty[distribution].methods | default(_methods['default']) }}"
|
||||
source_url: "{{ ghostty.base_url }}/{{ ghostty.version }}/ghostty-{{ ghostty.version }}.tar.gz"
|
||||
pkg_deps: "{{ ghostty[distribution].pkg_deps | default(omit) }}"
|
||||
build_deps: "{{ ghostty[distribution].build_deps | default(ghostty.default.build_deps) }}"
|
||||
|
||||
- name: Configure ghostty
|
||||
block:
|
||||
- name: Set ghostty install method
|
||||
@@ -105,11 +107,23 @@
|
||||
when:
|
||||
- ghostty_imethod == 'source'
|
||||
block:
|
||||
- name: Append ghostty to pkg_src
|
||||
- name: Add ghostty package dependencies
|
||||
when:
|
||||
- ghostty.pkg_deps is defined
|
||||
- ghostty.pkg_deps|length > 0
|
||||
loop: "{{ ghostty.pkg_deps }}"
|
||||
loop_control:
|
||||
loop_var: dep
|
||||
ansible.bulitin.include_tasks: pkgs/{{ dep }}.yml
|
||||
|
||||
- name: Add ghostty system dependencies
|
||||
ansible.builtin.set_fact:
|
||||
pkg_src: "{{ pkg_src + ghostty.pkg }}"
|
||||
pkg_sys: "{{ pkg_sys + ghostty.build_deps }}"
|
||||
|
||||
- name: Configure ghostty zig install
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
|
||||
- name: Configure ghostty appimage install
|
||||
when:
|
||||
- ghostty_imethod == 'appimage'
|
||||
|
||||
Reference in New Issue
Block a user