diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |