Sha256: 4a8ef73de96e5a32823d0f01a4092fd2688da90588c7174021a5b7aa2c2011e5
Contents?: true
Size: 368 Bytes
Versions: 10
Compression:
Stored size: 368 Bytes
Contents
#!/bin/sh # "./check-style.sh files..." will validate files given on command line. # "./check-style.sh" without arguments will validate all style files # in the source directory files="" if [ $1 ]; then files=$@ else if [ "$srcdir" ]; then cd $srcdir fi files=*.xml fi for file in $files; do xmllint --relaxng styles.rng --noout $file || exit 1 done
Version data entries
10 entries across 10 versions & 1 rubygems