init:初始化项目

This commit is contained in:
2026-04-07 15:21:27 +08:00
commit 1b494b6029
366 changed files with 11461 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
BINARY := dist/popiartserver
GOFILES := $(shell find cmd internal -name '*.go' | sort)
.PHONY: fmt build run test
fmt:
gofmt -w $(GOFILES)
build:
mkdir -p dist
go build -o $(BINARY) ./cmd/popiartserver
run:
go run ./cmd/popiartserver
test:
go test ./...