File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed
Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 1+ local package_name = " cluacov"
2+ local package_version = " dev"
3+ local rockspec_revision = " 1"
4+ local github_account_name = " lunarmodules"
5+ local github_repo_name = " cluacov"
6+
7+
18rockspec_format = " 3.0"
2- package = " cluacov"
3- version = " dev-1"
9+ package = package_name
10+ version = package_version .. " -" .. rockspec_revision
11+
412source = {
5- url = " git+https://github.com/luarocks/cluacov.git"
13+ url = " git+https://github.com/" .. github_account_name .. " /" .. github_repo_name .. " .git" ,
14+ branch = (package_version == " dev" ) and " main" or nil ,
15+ tag = (package_version ~= " dev" ) and package_version or nil ,
616}
17+
718description = {
819 summary = " C extensions for LuaCov" ,
920 detailed = [[
10- Optional C extensions for LuaCov, improving performance and reducing
11- number of lines incorrectly marked as missed. Depends on LuaCov.
21+ Optional C extensions for LuaCov, improving performance and reducing
22+ number of lines incorrectly marked as missed. Depends on LuaCov.
1223 ]] ,
13- homepage = " https://github.com/luarocks/cluacov " ,
24+ homepage = " https://github.com/" .. github_account_name .. " / " .. github_repo_name ,
1425 license = " MIT"
1526}
27+
1628dependencies = {
1729 " lua >= 5.1" ,
1830 " luacov >= 0.13.0"
1931}
32+
2033build = {
2134 type = " builtin" ,
2235 modules = {
@@ -25,6 +38,7 @@ build = {
2538 [" cluacov.version" ] = " src/cluacov/version.lua"
2639 }
2740}
41+
2842test = {
2943 type = " busted"
30- }
44+ }
You can’t perform that action at this time.
0 commit comments