Add cloc-api target for Makefile

This commit is contained in:
qowevisa 2024-08-03 10:44:17 +03:00
parent 40fa706514
commit daec467e8c

View File

@ -10,3 +10,6 @@ api-local: swagger http-server
swagger: swagger:
#swag init -g ./cmd/http-server/main.go #swag init -g ./cmd/http-server/main.go
swag init -d ./cmd/http-server/,./types/,./handlers,./db swag init -d ./cmd/http-server/,./types/,./handlers,./db
cloc-api:
cloc ./cmd/http-server/ ./db/ ./handlers/ ./types/ ./middleware/ ./utils/ ./tokens/