X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=Makefile;h=b21ed3d0893740fd8fe2f590065f1f60738e43a2;hp=fa2db0bbd326f4a4f3da2dfc9e3ef8b531460a41;hb=2804606f9f8dc5078c38580bac363b47eb638620;hpb=70e11dc890b93ab83195188a49649be7e8e6a249 diff --git a/Makefile b/Makefile index fa2db0b..b21ed3d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ LDFLAGS = '\ - -X "main.versionGit=$(shell git describe --long --tags --dirty --always)" \ + -X "main.versionGit=$(shell git describe --long --tags --dirty --always) \ +$(shell git show --no-patch --pretty=format:%as)" \ -X "main.versionGo=$(shell go version)" \ ' # Build with `make GOFLAGS=` if -race is not supported @@ -27,7 +28,7 @@ lint: shellcheck cmd/safcm/testdata/ssh/prepare.sh clean: - rm -rf remote/helpers/ + rm -rf cmd/safcm/remote/ rm -f safcm rm -f cmd/safcm/testdata/ssh/ssh/authorized_keys rm -f cmd/safcm/testdata/ssh/ssh/id_ed25519