From 06e94a0f798e8c3e231ebe01ae85ec1337505ac8 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 21 Apr 2021 08:28:08 +0200 Subject: [PATCH] Makefile: move command to test target The permissions are only relevant when running tests. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5549539..17f1213 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,11 @@ safcm: go fmt ./... cd cmd/safcm-remote && ./build.sh go build $(GOFLAGS) -ldflags $(LDFLAGS) ruderich.org/simon/safcm/cmd/safcm - @# For proper permissions after initial clone with a strict umask - cd cmd/safcm/testdata/project && ../../../../safcm fixperms 2> /dev/null test: + @# For proper permissions after initial clone with a strict umask + cd cmd/safcm/testdata/project && ../../../../safcm fixperms 2> /dev/null + @# ./cmd/safcm/testdata/ssh/prepare.sh go vet ./... go test $(GOFLAGS) ./... -- 2.43.2