Commit 8e63058
committed
build: add consolidated sql make target
Working on SQL migrations and queries currently requires separate
sql-lint, sql-format, and sqlc invocations, and the linting steps can
rewrite SQL after code generation.
Add make sql to run linting, formatting, and generation in one place so
local development normalizes the SQL first and only regenerates the Go
files once from the final contents.1 parent 9e88f7c commit 8e63058
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
289 | 303 | | |
290 | 304 | | |
291 | 305 | | |
| |||
303 | 317 | | |
304 | 318 | | |
305 | 319 | | |
| 320 | + | |
306 | 321 | | |
307 | 322 | | |
308 | 323 | | |
| |||
0 commit comments