Skip to content

Commit

Permalink
build(go): add check for quicktype
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jun 26, 2024
1 parent 1476b71 commit e01e9e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions magefiles/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e01e9e8

Please sign in to comment.