Draft: feat login

This commit is contained in:
2025-09-05 03:59:25 +08:00
parent 6d7074198f
commit fd694704be
43 changed files with 2090 additions and 93 deletions

View File

@@ -1,12 +1,15 @@
.PHONY: all install clean swagger
.PHONY: all install clean swagger docker play
SWAG ?= ~/go/bin/swag
TARGET := $(shell find . -type f -name '*.go')
all: swagger install
all: swagger docker install
install: game
docker: game
docker compose up -d --force-recreate --build backend
install:
CGO_ENABLED=0 go install
game: $(TARGET)
@@ -18,3 +21,6 @@ swagger:
clean:
-rm -f game
play:
game play http://localhost:8081