X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=Makefile;h=17f12134ad9b492be50dd9499656428c95327db9;hb=367edc1286a52d96fcfef6f98330148cad8a64e1;hp=c7569895201a26f030f971b8c42ca06e0816e108;hpb=444e9874424580361e00547b597d213370045057;p=safcm%2Fsafcm.git diff --git a/Makefile b/Makefile index c756989..17f1213 100644 --- a/Makefile +++ b/Makefile @@ -12,15 +12,23 @@ 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) $(TESTFLAGS) ./... + go test $(GOFLAGS) ./... clean: rm -rf remote/helpers/ rm -f safcm + rm -f cmd/safcm/testdata/ssh/ssh/authorized_keys + rm -f cmd/safcm/testdata/ssh/ssh/id_ed25519 + rm -f cmd/safcm/testdata/ssh/ssh/id_ed25519.pub + rm -f cmd/safcm/testdata/ssh/ssh/known_hosts + rm -f cmd/safcm/testdata/ssh/sshd/ssh_host_key + rm -f cmd/safcm/testdata/ssh/sshd/ssh_host_key.pub .PHONY: all test clean safcm