Restore rockspec

This commit is contained in:
hrsh7th
2022-09-06 12:46:57 +09:00
parent 33fbb2c3d2
commit b16e5bcf1d

38
nvim-cmp-scm-1.rockspec Normal file
View File

@@ -0,0 +1,38 @@
local MODREV, SPECREV = "scm", "-1"
rockspec_format = "3.0"
package = "nvim-cmp"
version = MODREV .. SPECREV
description = {
summary = "A completion plugin for neovim",
labels = { "neovim" },
detailed = [[
A completion engine plugin for neovim written in Lua. Completion sources are installed from external repositories and "sourced".
]],
homepage = "https://github.com/hrsh7th/nvim-cmp",
license = "MIT",
}
dependencies = {
"lua >= 5.1, < 5.4",
}
source = {
url = "http://github.com/hrsh7th/nvim-cmp/archive/v" .. MODREV .. ".zip",
dir = "nvim-cmp-" .. MODREV,
}
if MODREV == "scm" then
source = {
url = "git://github.com/hrsh7th/nvim-cmp",
}
end
build = {
type = "builtin",
}
copy_directories = {
'lua',
'autoload',
'plugin',
}