aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/Makefile
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2022-07-26 14:48:01 +0000
committerArne Juul <arnej@yahooinc.com>2022-08-16 08:53:43 +0000
commit512a2e9eece834a98c735aab9d09e3662b7e16a1 (patch)
tree3dcc3da3d2d196ae896ec5a63110885d1b83533a /client/go/Makefile
parentcf579cd8d957b1bb2992d7a86830fbca3a64f82b (diff)
hookup new version of vespa-logfmt
* adds simple go compilation hook for cmake * stop installing perl version of vespa-logfmt
Diffstat (limited to 'client/go/Makefile')
-rw-r--r--client/go/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/go/Makefile b/client/go/Makefile
index 78adf299f0e..8a07f880c24 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -131,7 +131,8 @@ clean:
rmdir -p $(BIN) $(SHARE)/man/man1 > /dev/null 2>&1 || true
test: ci
- go test ./...
+ mkdir -p mytmp
+ TMPDIR=`pwd`/mytmp go test ./...
checkfmt:
@bash -c "diff --line-format='%L' <(echo -n) <(gofmt -l .)" || { echo "one or more files need to be formatted: try make fmt to fix this automatically"; exit 1; }