medit/moo/mooedit/language-specs/convert.sh

18 lines
493 B
Bash
Raw Normal View History

2006-08-26 17:02:38 -07:00
#!/bin/sh
files="ada changelog csharp css desktop diff fortran gtkrc \
haskell idl ini java lua makefile msil nemerle octave pascal perl \
php po python R ruby scheme sh sql tcl texinfo vbnet verilog vhdl"
for file in $files; do
if ! (./convert.py $file.lang > $file.new.lang) ; then
echo "*** Error: " $file.lang
exit 1
fi
if ! (./check.sh $file.new.lang) ; then
echo "*** Error: " $file.lang
exit 1
fi
2006-08-26 17:14:18 -07:00
# mv $file.new.lang $file.lang
2006-08-26 17:02:38 -07:00
done