make swag now works with the new cmd pathing
This commit is contained in:
parent
228e08fef3
commit
2b6ab134d9
4
makefile
4
makefile
@ -18,8 +18,8 @@ migrate-dev-down: ## revert sql migrations to dev db
|
|||||||
goose -dir "./internal/database/migrations" postgres "user=postgres password=postgres dbname=postgres sslmode=disable" down
|
goose -dir "./internal/database/migrations" postgres "user=postgres password=postgres dbname=postgres sslmode=disable" down
|
||||||
|
|
||||||
swag: ## Generates the swagger documentation with the swag tool
|
swag: ## Generates the swagger documentation with the swag tool
|
||||||
~/go/bin/swag f
|
~/go/bin/swag f
|
||||||
~/go/bin/swag i
|
~/go/bin/swag init -g cmd/server.go
|
||||||
|
|
||||||
gensql: ## Generates SQL code with sqlc
|
gensql: ## Generates SQL code with sqlc
|
||||||
sqlc generate
|
sqlc generate
|
Loading…
Reference in New Issue
Block a user