Skip to content

Commit 023ab78

Browse files
fix(scripts): Remove test output regeneration script (#3105)
Resolves #3097
1 parent 2b73120 commit 023ab78

File tree

3 files changed

+1
-102
lines changed

3 files changed

+1
-102
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: build build-endtoend test test-ci test-examples test-endtoend regen start psql mysqlsh proto
1+
.PHONY: build build-endtoend test test-ci test-examples test-endtoend start psql mysqlsh proto
22

33
build:
44
go build ./...
@@ -20,9 +20,6 @@ build-endtoend:
2020

2121
test-ci: test-examples build-endtoend vet
2222

23-
regen: sqlc-dev sqlc-gen-json
24-
go run ./scripts/regenerate/
25-
2623
sqlc-dev:
2724
go build -o ~/bin/sqlc-dev ./cmd/sqlc/
2825

docs/guides/development.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,3 @@ MYSQL_USER root
5353
MYSQL_ROOT_PASSWORD mysecretpassword
5454
MYSQL_DATABASE dinotest
5555
```
56-
57-
## Regenerate expected test output
58-
59-
If you need to update a large number of expected test output in the
60-
`internal/endtoend/testdata` directory, run the `regenerate` script.
61-
62-
```
63-
go build -o ~/go/bin/sqlc-dev ./cmd/sqlc
64-
go run scripts/regenerate/main.go
65-
```
66-
67-
Note that this uses the `sqlc-dev` binary, not `sqlc` so make sure you have an
68-
up to date `sqlc-dev` binary.

scripts/regenerate/main.go

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)