modify Makefile

This commit is contained in:
Ulric Qin 2022-02-14 16:18:30 +08:00
parent fff5110e9a
commit 6a3a630759
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@ build:
# start: # start:
# @go run -ldflags "-X main.VERSION=$(RELEASE_TAG)" ./cmd/${APP}/main.go web -c ./configs/config.toml -m ./configs/model.conf --menu ./configs/menu.yaml # @go run -ldflags "-X main.VERSION=$(RELEASE_TAG)" ./cmd/${APP}/main.go web -c ./configs/config.toml -m ./configs/model.conf --menu ./configs/menu.yaml
run_webapi:
nohup ./n9e webapi > webapi.log 2>&1 &
run_server:
nohup ./n9e server > server.log 2>&1 &
# swagger: # swagger:
# @swag init --parseDependency --generalInfo ./cmd/${APP}/main.go --output ./internal/app/swagger # @swag init --parseDependency --generalInfo ./cmd/${APP}/main.go --output ./internal/app/swagger