Switch to new go tool pattern for external tool deps

This commit is contained in:
2025-12-16 08:49:17 +01:00
parent 457c944ec6
commit 6f49998ad3
3 changed files with 7 additions and 11 deletions

View File

@@ -50,12 +50,12 @@ frontend:
swagger:
$(info ===> GENERATE swagger)
@go run github.com/swaggo/swag/cmd/swag init --parseDependency -d ./internal/api -g rest.go -o ./api
@go tool github.com/swaggo/swag/cmd/swag init --parseDependency -d ./internal/api -g rest.go -o ./api
@mv ./api/docs.go ./internal/api/docs.go
graphql:
$(info ===> GENERATE graphql)
@go run github.com/99designs/gqlgen
@go tool github.com/99designs/gqlgen
clean:
$(info ===> CLEAN)