Merged in bugfix/composeupforvet (pull request #13)

Linting add compose:up to Background

* addtobg
This commit is contained in:
Michael McGuinness
2025-01-10 13:57:11 +00:00
parent 6a7d2c4b03
commit 3b85dcdcfe
+8 -4
View File
@@ -9,12 +9,14 @@ vars:
tasks:
generate:
cmds:
- |
task compose:up:bg
task db:mig:run
sqlc generate --file sqlc.yml
- task compose:up:bg
- sleep 2
- task db:mig:run
- sqlc generate --file sqlc.yml
lint:
cmds:
- task compose:up:bg
- sleep 2
- sqlc vet --file sqlc.yml
mig:create:
cmds:
@@ -24,4 +26,6 @@ tasks:
migrate create -ext sql -dir {{.MIGRATIONS}} $name
mig:run:
cmds:
- task compose:up:bg
- sleep 2
- migrate -path {{.MIGRATIONS}} -database {{.DB_URI}} up