diff --git a/Makefile b/Makefile index d1b8718..8b64c98 100644 --- a/Makefile +++ b/Makefile @@ -39,3 +39,10 @@ json-readable: diff: git diff + +# https://www.digitalocean.com/community/tutorials/how-to-build-go-executables-for-multiple-platforms-on-ubuntu-16-04 +build-darwin: + env GOOS=darwin GOARCH=amd64 go build + +build-windows: + env GOOS=windows GOARCH=amd64 go build