mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 23:42:59 +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
|
||||||
|
.luacov-html
|
||||||
_site/
|
_site/
|
||||||
.luarocks/
|
.luarocks/
|
||||||
|
|
||||||
|
|
5
tests.sh
5
tests.sh
|
@ -90,6 +90,11 @@ run_test() {
|
||||||
fi
|
fi
|
||||||
"${busted_path}" --coverage --no-auto-insulate --pattern ".test.lua" .tests;
|
"${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
|
# Remove, but only if empty
|
||||||
if [[ -s "luacov.report.out" ]]; then :
|
if [[ -s "luacov.report.out" ]]; then :
|
||||||
else rm "luacov.report.out"; fi
|
else rm "luacov.report.out"; fi
|
||||||
|
|
Loading…
Reference in a new issue