Fix: use go run instead of search in go bin directory
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
|||||||
.PHONY: all swagger clean
|
.PHONY: all swagger clean
|
||||||
|
|
||||||
SWAG ?= ~/go/bin/swag
|
SWAG ?= go run github.com/swaggo/swag/cmd/swag@v1.16.6
|
||||||
SWAG_INIT_ARGS += -o docs -g cmds/server.go
|
SWAG_INIT_ARGS += -o docs -g cmds/server.go
|
||||||
|
|
||||||
GO_ENV += CGO_ENABLED=0
|
GO_ENV += CGO_ENABLED=0
|
||||||
|
|||||||
Reference in New Issue
Block a user