Files
ansible_role_package/tasks/build/neovide.yml
Matthew Stobbs 2f3690aded clean up, refactor, documentation
- reducing amount of splitting in configs
- documenting configuration
2025-01-24 23:23:24 -07:00

26 lines
707 B
YAML

---
- name: build and install neovide
become: true
ansible.builtin.command:
cmd:
- cargo
- install
- --root
- "{% if ansible_os_family != 'Linux' %}.{% else %}{{ pkgconfig.neovide.install_prefix }}"
- --git
- "{{ pkgconfig.neovide.git_repo }}"
- --tag
- "{{ pkgconfig.neovide.version }}"
- name: Copy neovide icon
become: true
ansible.builtin.copy:
src: neovide/icon.png
dest: "{{ pkgconfig.neovide.install_prefix }}/share/icons/neovide.png"
- name: Copy neovide.desktop
become: true
ansible.builtin.templatefile:
src: neovide/neovide.desktop
dest: "{{ pkgconfig.neovide.install_prefix }}/share/applications/neovide.desktop"