File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ GOFLAGS :=
1010COVERFILE := coverage.out
1111TESTCOVERAGE_THRESHOLD := 71
1212GOLANGCI_LINT := golangci-lint
13- SPECVERSION := v1.0.0-rc.1
13+ SPECVERSION := v1.0.0-rc.0
1414
1515.PHONY : all tidy fmtcheck fmt vet lint test testcov race coverage-check build install generate ci-local clean help
1616
@@ -135,16 +135,11 @@ install:
135135 @echo " > Installing module/binaries"
136136 @go install ./...
137137
138- update-schema :
139- @echo " > Pulling down Gemara CUE package"
140- @cue def github.com/gemaraproj/gemara@$(SPECVERSION ) --outfile schema.cue --force
141-
142138# Generate files from CUE schemas
143139# Generates Go types from the Gemara CUE package with stable and experimental variants
144140generate :
145141 @echo " > Generating types from Gemara CUE package"
146- @cue exp gengotypes schema.cue
147- @mv cue_types_gen.go generated_types.go
142+ @cue exp gengotypes --outfile generated_types.go github.com/gemaraproj/gemara@$(SPECVERSION )
148143 @go run ./cmd/typestagger generated_types.go
149144
150145genlocal :
You can’t perform that action at this time.
0 commit comments