2005-10-13 07:08:18 -07:00
|
|
|
#!/bin/sh
|
|
|
|
|
2006-03-07 00:50:54 -08:00
|
|
|
langs="c.lang diff.lang latex.lang misc.lang make.lang ms.lang python.lang python-console.lang sh.lang xml.lang sci.lang gap.lang scheme.lang"
|
2005-10-13 07:08:18 -07:00
|
|
|
styles="garnacho.styles gvim.styles"
|
|
|
|
files="$langs $styles"
|
|
|
|
|
|
|
|
if [ $1 ]; then
|
|
|
|
files=$*
|
|
|
|
fi
|
|
|
|
|
|
|
|
for file in $files; do
|
|
|
|
if ! xmllint --valid --noout $file ; then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
done
|