Skip to content

Commit 55476d7

Browse files
committed
generate.sh comment
1 parent 303297c commit 55476d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

coderd/database/generate.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/usr/bin/env bash
22

3+
# This script turns many *.sql.go files into a single queries.sql.go file. This
4+
# is due to sqlc's behavior when using multiple sql files to output them to
5+
# multiple Go files. We decided it would be cleaner to move these to a single
6+
# file for readability. We should probably contribute the option to do this
7+
# upstream instead, because this is quite janky.
8+
39
set -euo pipefail
410

511
cd "$(dirname "$0")"

0 commit comments

Comments
 (0)