This commit is contained in:
awei
2025-03-03 17:43:50 +08:00
commit 113756eaae
1497 changed files with 127997 additions and 0 deletions

29
bbs-go/server/Makefile Normal file
View File

@@ -0,0 +1,29 @@
# Build the application
all: build
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
# Test the application
test:
@echo "Testing..."
@go test ./...
# Clean the binary
clean:
@echo "Cleaning..."
@rm -f bbs-go
generator:
@go run cmd/generator/generator.go
.PHONY: all build run test clean