X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=8ccec9daa1fa3489f6d46ac19396a1ff62b8e2ad;hb=f2f2bc47e8729548f3c10117f7f008b547c4afc5;hp=0000000000000000000000000000000000000000;hpb=dc0d431a778a50e6732b9eb91384a07a207b772d;p=safcm%2Fsafcm.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8ccec9d --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +all: safcm + +safcm: + go fmt ./... + cd cmd/safcm-remote && ./build.sh + go build -race 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 + +clean: + rm -rf remote/helpers/ + rm -f safcm + +.PHONY: all clean safcm