18 lines
535 B
YAML
18 lines
535 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Build ghostty from source
|
|
block:
|
|
- name: Clone ghostty git repository
|
|
ansible.builtin.git:
|
|
depth: 1
|
|
dest: "{{ d_tempdir.path }}/ghostty"
|
|
repo: "{{ ghostty.repo }}"
|
|
version: "{{ ghostty.vers }}"
|
|
|
|
- name: Build ghostty
|
|
become: "{{ ext_become }}"
|
|
register: c_ghostty_build
|
|
ansible.builtin.command:
|
|
chdir: "{{ d_tempdir.path }}/ghostty"
|
|
cmd: "zig build -p {{ path.prefix }} -D{{ pkgconfig_ghostty.optimize }}"
|