mirror of
https://github.com/nvim-lua/plenary.nvim
synced 2024-09-16 13:24:05 +02:00
d430deda18
* chore: use luarocks-tag-release action for luarocks upload * docs(readme): add luarocks badge
40 lines
618 B
Text
40 lines
618 B
Text
local git_tag = '$git_tag'
|
|
local modrev = '$modrev'
|
|
local specrev = '-1'
|
|
|
|
local repo_url = '$repo_url'
|
|
|
|
rockspec_format = '3.0'
|
|
package = '$package'
|
|
version = modrev .. specrev
|
|
|
|
description = {
|
|
summary = '$summary',
|
|
detailed = $detailed_description,
|
|
labels = $labels,
|
|
homepage = '$homepage',
|
|
$license
|
|
}
|
|
|
|
dependencies = {
|
|
'lua >= 5.1, < 5.4',
|
|
'luassert'
|
|
}
|
|
|
|
source = {
|
|
url = repo_url .. '/archive/' .. git_tag .. '.zip',
|
|
dir = '$repo_name-' .. modrev,
|
|
}
|
|
|
|
build = {
|
|
type = 'builtin',
|
|
copy_directories = {
|
|
'data',
|
|
'plugin'
|
|
}
|
|
}
|
|
|
|
test = {
|
|
type = 'command',
|
|
command = 'make test'
|
|
}
|