Files
ansible_role_package/tasks/src/neovim.yml
2025-03-10 21:05:47 -06:00

18 lines
499 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Clone neovim git repository
ansible.builtin.git:
depth: 1
dest: "{{ d_tempdir.path }}/neovim"
repo: "{{ pkgconfig_neovim.git_repo }}"
version: "{{ pkgconfig_neovim.version }}"
- name: Build and install neovim
become: "{{ ext_become }}"
ansible.builtin.make:
chdir: "{{ d_tempdir.path }}/neovim"
params:
CMAKE_BUILD_TYPE: "{{ neovim.build_type }}"
CMAKE_INSTALL_PREFIX: "{{ path.prefix }}"
target: install