From 220f91f95778691adf46d4f2331a521e281f009c Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Tue, 16 Aug 2022 10:08:29 +0800 Subject: [PATCH] make all --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6bb8dbe..b8b9fbd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ +all: arm + linux: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build + mac: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build + arm: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go mod tidy CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o exporter.bin main.go \ No newline at end of file