Skip to content

Commit 9576360

Browse files
authored
Merge pull request #2693 from rexagod/make-examples-fix
fix: Fix `examples` target
2 parents d59fe58 + 8b2aa61 commit 9576360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ examples/autosharding: jsonnet $(shell find jsonnet | grep ".libsonnet") scripts
168168

169169
examples/daemonsetsharding: jsonnet $(shell find jsonnet | grep ".libsonnet") scripts/daemonsetsharding.jsonnet scripts/vendor
170170
mkdir -p examples/daemonsetsharding
171-
${JSONETT_CLI} -J scripts/vendor -m examples/daemonsetsharding --ext-str version="$(VERSION)" scripts/daemonsetsharding.jsonnet | xargs -I{} sh -c 'cat {} | ${GOJSONTOYAML_CLI} > `echo {} | sed "s/\(.\)\([A-Z]\)/\1-\2/g" | tr "[:upper:]" "[:lower:]"`.yaml' -- {}
171+
${JSONNET_CLI} -J scripts/vendor -m examples/daemonsetsharding --ext-str version="$(VERSION)" scripts/daemonsetsharding.jsonnet | xargs -I{} sh -c 'cat {} | ${GOJSONTOYAML_CLI} > `echo {} | sed "s/\(.\)\([A-Z]\)/\1-\2/g" | tr "[:upper:]" "[:lower:]"`.yaml' -- {}
172172
find examples -type f ! -name '*.yaml' -delete
173173

174174
scripts/vendor: scripts/jsonnetfile.json scripts/jsonnetfile.lock.json

0 commit comments

Comments
 (0)