From 6dda79152d8fa00178e75dcd7085c5908fefd499 Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 11 Apr 2024 12:07:38 -0700 Subject: [PATCH] fix: undo sqlc build changes for CI (#1232) --- Justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index cf23edd944..462fdc762f 100644 --- a/Justfile +++ b/Justfile @@ -51,9 +51,9 @@ init-db: dbmate create dbmate --migrations-dir backend/controller/sql/schema up -# Regenerate SQLC code -build-sqlc: init-db - @mk backend/controller/sql/{db.go,models.go,querier.go,queries.sql.go} : backend/controller/sql/queries.sql backend/controller/sql/schema sqlc.yaml -- sqlc generate +# Regenerate SQLC code (requires init-db to be run first) +build-sqlc: + @mk backend/controller/sql/{db.go,models.go,querier.go,queries.sql.go} : backend/controller/sql/queries.sql backend/controller/sql/schema -- sqlc generate # Build the ZIP files that are embedded in the FTL release binaries build-zips: build-kt-runtime