Skip to content

Commit 43e2389

Browse files
committed
removed genlocal, since it wasn't producing identical results
Signed-off-by: Eddie Knight <knight@linux.com>
1 parent cf49160 commit 43e2389

2 files changed

Lines changed: 240 additions & 387 deletions

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ generate:
142142
@cue def github.com/gemaraproj/gemara@$(SPECVERSION) --outfile schema.cue
143143

144144
# Required after using CUE Def to find the properly defined control types
145-
@sed -i 's/let control_9 = control/let control_9 = #ControlEvaluation.control/' schema.cue
145+
# If running from darwin OS, add '' after -i
146+
sed -i 's/let control_9 = control/let control_9 = #ControlEvaluation.control/' schema.cue
146147

147148
@cue exp gengotypes schema.cue
148149
@mv cue_types_gen.go generated_types.go

0 commit comments

Comments
 (0)