fin-check-api/Makefile

19 lines
390 B
Makefile
Raw Permalink Normal View History

2024-08-02 17:13:53 +02:00
def: http-server
@
http-server:
go build -v -o ./bin/$@ ./cmd/$@
api-local: swagger http-server
./bin/http-server
swagger:
2024-08-02 22:37:26 +02:00
#swag init -g ./cmd/http-server/main.go
swag init -d ./cmd/http-server/,./types/,./handlers,./db
2024-08-03 09:44:17 +02:00
cloc-api:
cloc ./cmd/http-server/ ./db/ ./handlers/ ./types/ ./middleware/ ./utils/ ./tokens/
2024-08-06 21:54:24 +02:00
install-swag:
go install github.com/swaggo/swag/cmd/swag@latest