mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
Update .fixed files via update-references.sh
This commit is contained in:
parent
2ccfd52f5d
commit
7d9bf99df1
1 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,7 @@ shift
|
|||
while [[ "$1" != "" ]]; do
|
||||
STDERR_NAME="${1/%.rs/.stderr}"
|
||||
STDOUT_NAME="${1/%.rs/.stdout}"
|
||||
FIXED_NAME="${1/%.rs/.fixed}"
|
||||
shift
|
||||
if [ -f $BUILD_DIR/$STDOUT_NAME ] && \
|
||||
! (diff $BUILD_DIR/$STDOUT_NAME $MYDIR/$STDOUT_NAME >& /dev/null); then
|
||||
|
@ -45,6 +46,11 @@ while [[ "$1" != "" ]]; do
|
|||
echo updating $MYDIR/$STDERR_NAME
|
||||
cp $BUILD_DIR/$STDERR_NAME $MYDIR/$STDERR_NAME
|
||||
fi
|
||||
if [ -f $BUILD_DIR/$FIXED_NAME ] && \
|
||||
! (diff $BUILD_DIR/$FIXED_NAME $MYDIR/$FIXED_NAME >& /dev/null); then
|
||||
echo updating $MYDIR/$FIXED_NAME
|
||||
cp $BUILD_DIR/$FIXED_NAME $MYDIR/$FIXED_NAME
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue