Draft: feat login
This commit is contained in:
12
Makefile
12
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user