From 7681c535269049556736f1f857c8c9fd800857a3 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 20 Jun 2022 22:45:43 +0100 Subject: [PATCH] refactor(nvim): move into the build directory --- roles/neovim/tasks/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/neovim/tasks/main.yaml b/roles/neovim/tasks/main.yaml index d5feeab..552281f 100644 --- a/roles/neovim/tasks/main.yaml +++ b/roles/neovim/tasks/main.yaml @@ -21,7 +21,7 @@ ansible.builtin.git: clone: yes depth: 1 - dest: "{{ ansible_user_dir }}/neovim" + dest: "{{ ansible_user_dir }}/build/neovim" repo: https://github.com/neovim/neovim.git # single_branch: yes update: yes @@ -30,21 +30,21 @@ - name: Build make: - chdir: "{{ ansible_user_dir }}/neovim" + chdir: "{{ ansible_user_dir }}/build/neovim" params: CMAKE_BUILD_TYPE: RelWithDebInfo when: clone.changed - name: Install make: - chdir: "{{ ansible_user_dir }}/neovim" + chdir: "{{ ansible_user_dir }}/build/neovim" target: install become: yes when: clone.changed - name: Remove build folder ansible.builtin.file: - path: "{{ ansible_user_dir }}/neovim/build" + path: "{{ ansible_user_dir }}/build/neovim/build" state: absent become: yes