Skip to content

Instantly share code, notes, and snippets.

@edubart
Created August 19, 2020 12:06
Show Gist options
  • Save edubart/7cb769195bf0e816e3e8b4c615961e41 to your computer and use it in GitHub Desktop.
Save edubart/7cb769195bf0e816e3e8b4c615961e41 to your computer and use it in GitHub Desktop.
luacov rockspec for lua 5.4
package = "luacov"
version = "scm-1"
source = {
url = "git+https://github.com/keplerproject/luacov.git",
}
description = {
summary = "Coverage analysis tool for Lua scripts",
detailed = [[
LuaCov is a simple coverage analysis tool for Lua scripts.
When a Lua script is run with the luacov module, it
generates a stats file. The luacov command-line script then
processes this file generating a report indicating which code
paths were not traversed, which is useful for verifying the
effectiveness of a test suite.
]],
homepage = "https://keplerproject.github.io/luacov/",
license = "MIT"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "builtin",
modules = {
luacov = "src/luacov.lua",
["luacov.defaults"] = "src/luacov/defaults.lua",
["luacov.hook"] = "src/luacov/hook.lua",
["luacov.linescanner"] = "src/luacov/linescanner.lua",
["luacov.reporter"] = "src/luacov/reporter.lua",
["luacov.reporter.default"] = "src/luacov/reporter/default.lua",
["luacov.runner"] = "src/luacov/runner.lua",
["luacov.stats"] = "src/luacov/stats.lua",
["luacov.tick"] = "src/luacov/tick.lua",
["luacov.util"] = "src/luacov/util.lua"
},
install = {
bin = {
luacov = "src/bin/luacov"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment