summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 652906d..a36a8f1 100644
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ go-mod-tidy/tools/%: tools/src/%/go.mod
# utilities for managing borrowed tests
borrowed.patch: stock patched
- diff -ru $^ > $@ || true
+ diff -ruN $^ > $@ || true
stock: FORCE
rm -rf $@ $@.tmp
mkdir $@.tmp
@@ -64,6 +64,7 @@ stock: FORCE
set -e; for file in "$$(go env GOROOT)"/src/encoding/json/{*_test.go,tags.go}; do \
cp "$$file" $@.tmp/borrowed_$${file##*/}; \
done
+ rm -f $@.tmp/borrowed_fold_test.go
mv $@.tmp $@
patched: FORCE
rm -rf $@ $@.tmp