mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-08-20 05:24:20 +02:00
move luacov-html to start with a dot (.)
Otherwise Minetest complains
This commit is contained in:
parent
2b66de555d
commit
9d82648ac3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
luacov-html
|
||||
.luacov-html
|
||||
_site/
|
||||
.luarocks/
|
||||
|
||||
|
5
tests.sh
5
tests.sh
@ -90,6 +90,11 @@ run_test() {
|
||||
fi
|
||||
"${busted_path}" --coverage --no-auto-insulate --pattern ".test.lua" .tests;
|
||||
|
||||
# If it doesn't begin with a dot, then Minetest *will* complain
|
||||
if [[ -d "luacov-html" ]]; then
|
||||
mv "luacov-html" ".luacov-html";
|
||||
fi
|
||||
|
||||
# Remove, but only if empty
|
||||
if [[ -s "luacov.report.out" ]]; then :
|
||||
else rm "luacov.report.out"; fi
|
||||
|
Loading…
Reference in New Issue
Block a user