From b6a3db7d9e21c8afcaafbb5cc63d7dee9afd9d84 Mon Sep 17 00:00:00 2001 From: mlogclub Date: Sun, 13 Oct 2024 11:37:00 +0800 Subject: [PATCH] add build on linux script --- server/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/Makefile b/server/Makefile index 48753d476..8165a3a5f 100644 --- a/server/Makefile +++ b/server/Makefile @@ -5,6 +5,10 @@ build: @echo "Building..." @go build -v -o bbs-go main.go +buildlinux: + @echo "Building..." + @GOOS=linux GOARCH=amd64 go build + # Run the application run: @go run main.go