Skip to content

Commit 9b1b69d

Browse files
committed
chore: try to fix rockspec sources to refer to an archive endpoint
1 parent 366742b commit 9b1b69d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
rockspec_format = "3.0"
2+
package = "luarocks-build-lls-addon"
3+
version = "0.1.0-2"
4+
5+
local source_url = ("https://github.com/LuaLS/luarocks-build-addon/archive/v%s/luarocks-build-addon-%s.zip"):format(
6+
version,
7+
version
8+
)
9+
local source_dir = ("luarocks-build-addon-%s"):format(version)
10+
11+
source = {
12+
url = source_url,
13+
dir = source_dir,
14+
}
15+
description = {
16+
summary = "A build backend for LuaRocks that installs LuaLS addons",
17+
homepage = "https://github.com/LuaLS/luarocks-build-addon",
18+
license = "MIT",
19+
}
20+
21+
test_dependencies = {
22+
"luarocks >= 3.11.1",
23+
"busted ~> 2.2",
24+
"luafilesystem ~> 1.8",
25+
"inspect ~> 3.1",
26+
"md5 ~> 1.3",
27+
}

0 commit comments

Comments
 (0)