Skip to content

Commit

Permalink
feat: add rocks-treesitter.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Mar 14, 2024
1 parent b93391d commit 6f240fd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-macosx-aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-macosx-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-win32-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6f240fd

Please sign in to comment.