feat: add rockspec + luarocks upload workflow (#2276)

telescope.nvim is a common dependency across Neovim plugins.
Using luarocks may alleviate the need for users to specify their
plugins' dependencies in their plugin manager.
(e.g., vim-plug or packer).

See also:
https://teto.github.io/posts/2021-09-17-neovim-plugin-luarocks.html
This commit is contained in:
Marc Jakobi
2023-01-10 15:33:23 +01:00
committed by GitHub
parent 04af51dbfb
commit e8c01bab91
5 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
MODREV=$(git describe --tags --always --first-parent | tr -d "v")
luarocks install "telescope.nvim" "$MODREV"