Commit 06e350d4 authored by bbguimaraes's avatar bbguimaraes
Browse files

scripts/tidy: ignore external files

parent 9c9b3281
#!/bin/bash
set -euo pipefail
for f in $(find bbguimaraes.com/ -type f -a -name '*.html'); do
for f in $(find \
bbguimaraes.com/ \
-path bbguimaraes.com/files -prune -o \( -type f -a -name '*.html' \) \
); do
if ! out=$(tidy -quiet -errors "$f" 2>&1); then
printf '%s\n%s\n' "$f" "$out"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment