From c2777e10ed73e779ac917a3e58fd04b9c00a5e3b Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 9 Aug 2023 20:37:45 +0200 Subject: [PATCH] Nuke testdata --- go/build_bootstrap.sh | 1 + go/build_go.sh | 1 + go/build_go19.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/go/build_bootstrap.sh b/go/build_bootstrap.sh index b38effb..89c08a3 100755 --- a/go/build_bootstrap.sh +++ b/go/build_bootstrap.sh @@ -23,6 +23,7 @@ find src -type f \( ! -name '*.go' \ -a ! -name 'p256_asm_table.bin' \ \) -print -delete find src -type f -name '*_test.go' -print -delete +find src -type d -name 'testdata' -print0 | xargs -0 rm -vrf find src -type d -empty -print -delete find pkg -type f -name '*.a' -print -delete find pkg -type d -empty -print -delete diff --git a/go/build_go.sh b/go/build_go.sh index e8852bd..62664b4 100755 --- a/go/build_go.sh +++ b/go/build_go.sh @@ -23,6 +23,7 @@ find src -type f \( ! -name '*.go' \ -a ! -name 'p256_asm_table.bin' \ \) -print -delete find src -type f -name '*_test.go' -print -delete +find src -type d -name 'testdata' -print0 | xargs -0 rm -vrf find src -type d -empty -print -delete find pkg -type f -name '*.a' -print -delete find pkg -type d -empty -print -delete diff --git a/go/build_go19.sh b/go/build_go19.sh index b4b1849..9bdf422 100755 --- a/go/build_go19.sh +++ b/go/build_go19.sh @@ -23,6 +23,7 @@ find src -type f \( ! -name '*.go' \ -a ! -name 'p256_asm_table.bin' \ \) -print -delete find src -type f -name '*_test.go' -print -delete +find src -type d -name 'testdata' -print0 | xargs -0 rm -vrf find src -type d -empty -print -delete find pkg -type f -name '*.a' -print -delete find pkg -type d -empty -print -delete