readscheme-website/scripts/format.sh

14 lines
214 B
Bash
Raw Normal View History

#!/bin/sh
set -eu
cd "$(dirname "$0")"
cd ..
echo "Entering directory '$PWD'"
set -x
tidy \
--indent yes \
--quiet yes \
--show-filename yes \
--tidy-mark no \
--write-back yes \
www/*.html