From 533fb1740a0c04bc240d01011c1c78f7f3f5d35c Mon Sep 17 00:00:00 2001 From: Artur Pedroso <artpdr@users.noreply.github.com> Date: Thu, 4 Apr 2019 16:03:34 +0100 Subject: [PATCH] Update README.md Fix go get jsonnet command. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d173a2b3..5b978f71 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ jsonnet -J vendor -m manifests "${1-example.jsonnet}" | xargs -I{} sh -c 'cat {} ``` -> Note you need `jsonnet` (`go get github.com/google/go-jsonnet/jsonnet`) and `gojsontoyaml` (`go get github.com/brancz/gojsontoyaml`) installed to run `build.sh`. If you just want json output, not yaml, then you can skip the pipe and everything afterwards. +> Note you need `jsonnet` (`go get github.com/google/go-jsonnet/cmd/jsonnet`) and `gojsontoyaml` (`go get github.com/brancz/gojsontoyaml`) installed to run `build.sh`. If you just want json output, not yaml, then you can skip the pipe and everything afterwards. This script runs the jsonnet code, then reads each key of the generated json and uses that as the file name, and writes the value of that key to that file, and converts each json manifest to yaml. -- GitLab