Draft: big refactor

This commit is contained in:
2025-09-16 16:03:27 +08:00
parent f527230f1e
commit 85fa3dfe73
47 changed files with 1166 additions and 351 deletions

View File

@@ -3,6 +3,7 @@
SWAG ?= ~/go/bin/swag
TARGET := $(shell find . -type f -name '*.go')
DEST := server/docs
all: swagger docker install
@@ -17,7 +18,7 @@ game: $(TARGET)
swagger:
$(SWAG) fmt
$(SWAG) init -o backend/docs -g cmd/serve/backend.go -pdl 1
$(SWAG) init -o $(DEST) -g cmd/serve/backend.go -pdl 1
clean:
-rm -f game