readscheme-website/scripts/format.sh

15 lines
236 B
Bash
Executable File

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