From 6f240fd64eb9b44faa750c17642dbd48ec96655d Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Thu, 14 Mar 2024 21:24:53 +0100 Subject: [PATCH] feat: add rocks-treesitter.nvim --- .github/workflows/build-linux-x86_64.yml | 4 ++++ .github/workflows/build-macosx-aarch64.yml | 4 ++++ .github/workflows/build-macosx-x86_64.yml | 4 ++++ .github/workflows/build-win32-x86_64.yml | 5 +++++ 4 files changed, 17 insertions(+) diff --git a/.github/workflows/build-linux-x86_64.yml b/.github/workflows/build-linux-x86_64.yml index 0895d858e..5b234cb66 100644 --- a/.github/workflows/build-linux-x86_64.yml +++ b/.github/workflows/build-linux-x86_64.yml @@ -71,6 +71,10 @@ jobs: || luarocks --local --dev --lua-version=5.1 install "tree-sitter-$lang" \ && luarocks pack "tree-sitter-$lang" || echo "Failed to pack tree-sitter-$lang" done + - name: Install `rocks-treesitter.nvim` Package + run: | + luarocks --verbose --local --lua-version=5.1 install rocks-treesitter.nvim + luarocks --verbose pack rocks-treesitter.nvim - name: Regenerate Manifests and HTML run: luarocks-admin make-manifest --lua-version=5.1 . - name: commit-linux-x86_64 diff --git a/.github/workflows/build-macosx-aarch64.yml b/.github/workflows/build-macosx-aarch64.yml index 1c528722f..e144f64f2 100644 --- a/.github/workflows/build-macosx-aarch64.yml +++ b/.github/workflows/build-macosx-aarch64.yml @@ -74,6 +74,10 @@ jobs: || luarocks --local --dev --lua-version=5.1 install "tree-sitter-$lang" \ && luarocks pack "tree-sitter-$lang" || echo "Failed to pack tree-sitter-$lang" done + - name: Install `rocks-treesitter.nvim` Package + run: | + luarocks --verbose --local --lua-version=5.1 install rocks-treesitter.nvim + luarocks --verbose pack rocks-treesitter.nvim - name: "[HACK] work around luarocks/#1630" run: for f in *.macosx-x86_64.rock; do mv "$f" "$(echo "$f" | sed s/x86_64/aarch64/)"; done - name: Regenerate Manifests and HTML diff --git a/.github/workflows/build-macosx-x86_64.yml b/.github/workflows/build-macosx-x86_64.yml index e1f3b76c0..37fac6195 100644 --- a/.github/workflows/build-macosx-x86_64.yml +++ b/.github/workflows/build-macosx-x86_64.yml @@ -74,6 +74,10 @@ jobs: || luarocks --local --dev --lua-version=5.1 install "tree-sitter-$lang" \ && luarocks pack "tree-sitter-$lang" || echo "Failed to pack tree-sitter-$lang" done + - name: Install `rocks-treesitter.nvim` Package + run: | + luarocks --verbose --local --lua-version=5.1 install rocks-treesitter.nvim + luarocks --verbose pack rocks-treesitter.nvim - name: Regenerate Manifests and HTML run: luarocks-admin make-manifest --lua-version=5.1 . - name: commit-macosx-x86_64 diff --git a/.github/workflows/build-win32-x86_64.yml b/.github/workflows/build-win32-x86_64.yml index 48e7ab6ac..cb6a39b31 100644 --- a/.github/workflows/build-win32-x86_64.yml +++ b/.github/workflows/build-win32-x86_64.yml @@ -84,6 +84,11 @@ jobs: && luarocks pack "tree-sitter-$lang" || echo "Failed to pack tree-sitter-$lang" done if: always() + - name: Install `rocks-treesitter.nvim` Package + run: | + luarocks --verbose --local --lua-version=5.1 install rocks-treesitter.nvim + luarocks --verbose pack rocks-treesitter.nvim + if: always() - name: Regenerate Manifests and HTML run: luarocks-admin make-manifest --lua-version=5.1 . if: always()