mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Made the style-check scripts send their file lists to stderr.
A complete list will be shown before make shows its error message. There will be less confusion about which lines are in the list.
This commit is contained in:
parent
4bb152eb65
commit
320312e7cc
4
.github/checks/lastline.sh
vendored
4
.github/checks/lastline.sh
vendored
@ -17,9 +17,9 @@ done`
|
|||||||
cd $OLDCWD
|
cd $OLDCWD
|
||||||
|
|
||||||
if [ x"$FILES"x != xx ]; then
|
if [ x"$FILES"x != xx ]; then
|
||||||
echo "error: found following files that have no newline at the end:"
|
echo "error: found following files that have no newline at the end:" >&2
|
||||||
for n in $FILES; do
|
for n in $FILES; do
|
||||||
echo $n
|
echo $n >&2
|
||||||
done
|
done
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
4
.github/checks/spaces.sh
vendored
4
.github/checks/spaces.sh
vendored
@ -10,9 +10,9 @@ FILES=`find $CHECK_PATH -type f \( -name \*.inc -o -name Makefile -o -name \*.cf
|
|||||||
cd $OLDCWD
|
cd $OLDCWD
|
||||||
|
|
||||||
if [ x"$FILES"x != xx ]; then
|
if [ x"$FILES"x != xx ]; then
|
||||||
echo "error: found dangling spaces in the following files:"
|
echo "error: found dangling spaces in the following files:" >&2
|
||||||
for n in $FILES; do
|
for n in $FILES; do
|
||||||
echo $n
|
echo $n >&2
|
||||||
done
|
done
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
4
.github/checks/tabs.sh
vendored
4
.github/checks/tabs.sh
vendored
@ -10,9 +10,9 @@ FILES=`find $CHECK_PATH -type f \( \( -name \*.inc -a \! -name Makefile.inc \) -
|
|||||||
cd $OLDCWD
|
cd $OLDCWD
|
||||||
|
|
||||||
if [ x"$FILES"x != xx ]; then
|
if [ x"$FILES"x != xx ]; then
|
||||||
echo "error: found TABs in the following files:"
|
echo "error: found TABs in the following files:" >&2
|
||||||
for n in $FILES; do
|
for n in $FILES; do
|
||||||
echo $n
|
echo $n >&2
|
||||||
done
|
done
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user