Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2dd66a9

Browse files
committed
print a success message on vet
1 parent3c4a818 commit2dd66a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ test:
711711
sqlc-vet: test-postgres-docker
712712
echo"--- sqlc vet"
713713
SQLC_DATABASE_URL="postgresql://postgres:postgres@localhost:5432/$(shell go run scripts/migrate-ci/main.go)"\
714-
sqlc vet -f coderd/database/sqlc.yaml
714+
sqlc vet -f coderd/database/sqlc.yaml&&echo"Passed sqlc vet"
715715

716716
# When updating -timeout for this test, keep in sync with
717717
# test-go-postgres (.github/workflows/coder.yaml).

‎coderd/database/sqlc.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ sql:
8383
queries:"./queries"
8484
engine:"postgresql"
8585
# This only works if you are running a local postgres database with the
86-
# schema loaded and migrations run.
86+
# schema loaded and migrations run. Run `make sqlc-vet` to run the linter.
8787
database:
8888
uri:"${SQLC_DATABASE_URL}"
8989
rules:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp