From e01e9e8ee0f9497ff27e1316576c473b17ca54e1 Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Wed, 26 Jun 2024 11:24:48 +0200 Subject: [PATCH] build(go): add check for quicktype --- magefiles/build.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/magefiles/build.go b/magefiles/build.go index fe4e743..6b4d027 100644 --- a/magefiles/build.go +++ b/magefiles/build.go @@ -50,6 +50,8 @@ func (Build) Ts(schema string) error { func (Build) Go(schema string) error { fmt.Printf("⚙️ Generate go types for %s\n", schema) + ensureQuicktype() + _, dest := schemaDestination(schema, GO_DIR) if err := os.MkdirAll(dest, os.ModePerm); err != nil {