File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ func main() {
36
36
37
37
hasPGDump := false
38
38
if _ , err = exec .LookPath ("pg_dump" ); err == nil {
39
- fmt .Fprintln (os .Stderr , "yahhoo" )
40
39
out , err := exec .Command ("pg_dump" , "--version" ).Output ()
41
40
if err == nil {
42
41
// Parse output:
Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ SCRIPT_DIR=$(dirname "${BASH_SOURCE[0]}")
13
13
(
14
14
cd " $SCRIPT_DIR "
15
15
16
- # Dump the updated schema.
17
- go run gen/dump/main.go
16
+ echo generate 1>&2
17
+
18
+ # Dump the updated schema (use make to utilize caching).
19
+ make -C ../.. --no-print-directory coderd/database/dump.sql
18
20
# The logic below depends on the exact version being correct :(
19
21
go run github.com/kyleconroy/sqlc/cmd/sqlc@v1.13.0 generate
20
22
You can’t perform that action at this time.
0 commit comments