do not run clbuilder while clbuilder compiles it

This commit is contained in:
Letter N
2020-12-29 13:45:26 +08:00
parent bf92751800
commit d4432e285b
3 changed files with 9 additions and 8 deletions

View File

@@ -31,15 +31,11 @@ fi;
# echo "ERROR: d1/d2 cable variables detected in maps, please remove them."
# st=1
# fi;
echo "Checking for pixel_[xy]"
if grep -P 'pixel_[xy] = 0' _maps/**/*.dmm; then
echo "pixel_x/pixel_y = 0 variables detected in maps, please review to ensure they are not dirty varedits."
echo "Checking for stacked cables"
if grep -P '"\w+" = \(\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/area/.+\)' _maps/**/*.dmm; then
echo "found multiple cables on the same tile, please remove them."
st=1
fi;
# echo "Checking for stacked cables"
# if grep -P '"\w+" = \(\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/obj/structure/cable,\n([^)]+\n)*/area/.+\)' _maps/**/*.dmm; then
# echo "found multiple cables on the same tile, please remove them."
# st=1
# fi;
if grep -P '^/area/.+[\{]' _maps/**/*.dmm; then
echo "ERROR: Vareditted /area path use detected in maps, please replace with proper paths."
st=1