Skip to content

Commit

Permalink
Move goose command to taskfile entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardolat committed Sep 6, 2024
1 parent ef8259e commit 9aac8ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 38 deletions.
37 changes: 0 additions & 37 deletions cmd/goose/main.go

This file was deleted.

7 changes: 6 additions & 1 deletion taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ tasks:
- task serve

goose:
cmd: eval $(go run ./cmd/goose/. {{.CLI_ARGS}})
silent: true
cmd: >
goose
-dir ./internal/database/migrations
postgres "{{.PBW_POSTGRES_CONN_STRING}}"
{{.CLI_ARGS}}
gen-db:
cmd: sqlc generate
Expand Down

0 comments on commit 9aac8ab

Please sign in to comment.