aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.luacheckrc4
-rw-r--r--spec/util/test_env.lua3
2 files changed, 7 insertions, 0 deletions
diff --git a/.luacheckrc b/.luacheckrc
index 98e05c23..cf70fdf4 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -25,6 +25,10 @@ ignore = {
25 "143/table.unpack", 25 "143/table.unpack",
26} 26}
27 27
28exclude_files = {
29 "src/luarocks/vendor/**/*.lua",
30}
31
28include_files = { 32include_files = {
29 "src/luarocks/**/*.lua" 33 "src/luarocks/**/*.lua"
30} 34}
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua
index 15aa554d..24a1de9e 100644
--- a/spec/util/test_env.lua
+++ b/spec/util/test_env.lua
@@ -906,6 +906,9 @@ local function create_configs()
906 return { 906 return {
907 statsfile = "%{statsfile}", 907 statsfile = "%{statsfile}",
908 reportfile = "%{reportfile}", 908 reportfile = "%{reportfile}",
909 exclude = {
910 "src%/luarocks%/vendor.+$",
911 },
909 modules = { 912 modules = {
910 ["luarocks"] = "%{luarocks_path}", 913 ["luarocks"] = "%{luarocks_path}",
911 ["luarocks-admin"] = "%{luarocks_admin_path}", 914 ["luarocks-admin"] = "%{luarocks_admin_path}",