mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-23 03:55:01 +00:00
move luacov-html to start with a dot (.)
Otherwise Minetest complains
This commit is contained in:
parent
2b66de555d
commit
9d82648ac3
2 changed files with 6 additions and 0 deletions
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 a new issue