~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/dual-forge-test

Test: one main on two forges

0
0
main
8 lines · 321 B Raw History
#!/usr/bin/env bash
# The whole CI: every .txt file ends in a newline and says no "BROKEN".
set -euo pipefail
for f in $(git ls-files '*.txt'); do
  [ "$(tail -c1 "$f" | od -An -c | tr -d ' ')" = '\n' ] || { echo "$f: no final newline"; exit 1; }
  ! grep -q BROKEN "$f" || { echo "$f: BROKEN"; exit 1; }
done
echo ci ok