checkstyle-md.sh 289 B

12345678910
  1. #!/bin/sh -e
  2. # Check if the style of the Markdown files is correct without modifying those
  3. # files.
  4. echo 'Markdown files that need changes:'
  5. if find . -name '*.md' | grep -v '/node_modules/' | xargs go run src.elv.sh/cmd/elvmdfmt -width 80 -d | grep .; then
  6. exit 1
  7. fi
  8. echo ' None!'