From f51a9f190db0059571a35471fbd1a77edcd30660 Mon Sep 17 00:00:00 2001 From: kouler Date: Wed, 6 Mar 2024 15:14:06 +0800 Subject: [PATCH] chore: makefile build flag --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ecc1ede6..fb996a08 100644 --- a/Makefile +++ b/Makefile @@ -4,15 +4,15 @@ build: .PHONY: build_for_linux build_for_linux: - export CGO_ENABLED=0 && export GOS=linux && ./script/build.sh + export CGO_ENABLED=0 && export GOOS=linux && ./script/build.sh .PHONY: build_for_linux_amd64 build_for_linux_amd64: - export CGO_ENABLED=0 && export GOS=linux && export GOARCH=amd64 && ./script/build.sh + export CGO_ENABLED=0 && export GOOS=linux && export GOARCH=amd64 && ./script/build.sh .PHONY: build_for_linux_arm64 build_for_linux_arm64: - export CGO_ENABLED=0 && export GOS=linux && export GOARCH=arm64 && ./script/build.sh + export CGO_ENABLED=0 && export GOOS=linux && export GOARCH=arm64 && ./script/build.sh .PHONY: test test: