init commit

This commit is contained in:
wizardchen
2025-08-05 15:08:07 +08:00
commit 56eb2bce33
282 changed files with 49077 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
.PHONY: proto build run docker-build docker-run clean
# 生成 protobuf 代码
proto:
@echo "Generating protobuf code..."
@sh ./scripts/generate_proto.sh
# 构建 Go 客户端
build:
@echo "Building Go client..."
@go build -o bin/client ./src/client
# 运行 Python 服务
run:
@echo "Running Python server..."
@python src/server/server.py
# 清理
clean:
@echo "Cleaning up..."
@rm -rf bin/
@find . -name "*.pyc" -delete
@find . -name "__pycache__" -delete