You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.luacov 415B

12345678910111213141516171819
  1. -- Configuration file for LuaCov
  2. local source = require("lfs").currentdir()
  3. local function pesc(s)
  4. assert(type(s) == 'string', s)
  5. return s:gsub('[%(%)%.%%%+%-%*%?%[%]%^%$]', '%%%1')
  6. end
  7. return {
  8. include = {
  9. -- Absolute paths (starting with source dir, not hidden (i.e. .deps)).
  10. pesc(source) .. "[/\\][^.].+",
  11. -- Relative (non-hidden) paths.
  12. '^[^/\\.]',
  13. },
  14. }
  15. -- vim: ft=lua tw=80 sw=2 et