-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy path.luacov
34 lines (30 loc) · 1.21 KB
/
.luacov
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- Project specific configuration.
-- @return a table of options
return {
-- Run reporter on completion?
runreport = true,
-- Lua patterns for files to include when reporting.
-- All will be included if nothing is listed.
-- Do not include the '.lua' extension. Path separator is always '/'.
-- Overruled by exclude.
include = {
"src/.+$", -- everything namespaced underneath src
},
-- Lua patterns for files to exclude when reporting.
-- Nothing will be excluded if nothing is listed.
-- Do not include the '.lua' extension. Path separator is always '/'.
-- Overrules include.
exclude = {
"spec/.+$",
},
-- Table mapping names of modules to be included to their filenames.
-- Has no effect if empty. Real filenames mentioned here will be used
-- for reporting even if the modules have been installed elsewhere.
-- Module name can contain '*' wildcard to match groups of modules,
-- in this case corresponding path will be used as a prefix directory
-- where modules from the group are located.
modules = {
["kong.plugins.opa"] = "src/kong/plugins/opa/handler.lua",
["kong.plugins.opa.*"] = "src",
}
}