ci: add release workflow for luarocks upload (#4109)

This commit is contained in:
Marc Jakobi 2023-02-22 19:15:43 +01:00 committed by GitHub
parent a4b72d4f7f
commit ba35d094c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 60 additions and 32 deletions

View file

@ -0,0 +1,35 @@
local MODREV, SPECREV = 'scm', '-1'
rockspec_format = '3.0'
package = 'nvim-treesitter'
version = MODREV .. SPECREV
description = {
summary = 'Nvim Treesitter configurations and abstraction layer',
labels = { 'neovim' },
homepage = 'https://github.com/nvim-treesitter/nvim-treesitter',
license = 'Apache-2.0',
}
dependencies = {
'lua >= 5.1',
}
source = {
url = 'git://github.com/nvim-treesitter/nvim-treesitter',
}
build = {
type = 'make',
install_variables = {
INST_PREFIX='$(PREFIX)',
INST_BINDIR='$(BINDIR)',
INST_LIBDIR='$(LIBDIR)',
INST_LUADIR='$(LUADIR)',
INST_CONFDIR='$(CONFDIR)',
},
copy_directories = {
'autoload',
'plugin',
'queries'
}
}