summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAva Chow <github@achow101.com>2024-04-24 19:13:48 -0400
committerAva Chow <github@achow101.com>2024-04-24 19:14:03 -0400
commiteb9007c8690436ea4a60189ab32e36686007e32c (patch)
tree2f4a642accff1fd0cb0f0b5805254c42e7622d4d /scripts
parent7be25f9fb20631c8c62d268c7f25ebe564a7a8e6 (diff)
diffchecks.sh: Build table first
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/diffcheck.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/diffcheck.sh b/scripts/diffcheck.sh
index 4e4c459..3d8a9e5 100755
--- a/scripts/diffcheck.sh
+++ b/scripts/diffcheck.sh
@@ -1,5 +1,6 @@
#!/bin/bash
+scripts/buildtable.pl >/tmp/table.mediawiki 2> /dev/null
diff README.mediawiki /tmp/table.mediawiki | grep '^[<>] |' >/tmp/after.diff || true
if git checkout HEAD^ && scripts/buildtable.pl >/tmp/table.mediawiki 2>/dev/null; then
diff README.mediawiki /tmp/table.mediawiki | grep '^[<>] |' >/tmp/before.diff || true