Skip to content

Commit

Permalink
Update check_grep.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnFulpWillard committed Dec 24, 2024
1 parent a46523a commit afa3164
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/ci/check_grep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ if $grep 'allocate\(/mob/living/carbon/human[,\)]' $unit_test_files ||
st=1
fi;

section "516 Href Styles"
part "byond href styles"
if $grep "href[\s='\"\\]*\?" $code_files ; then
echo
echo -e "${RED}ERROR: BYOND requires internal href links to begin with \"byond://\".${NC}"
st=1
fi;

section "common mistakes"
part "global vars"
if $grep '^/*var/' $code_files; then
Expand Down

0 comments on commit afa3164

Please sign in to comment.