]> git.proxmox.com Git - ceph.git/blob - ceph/monitoring/ceph-mixin/jsonnet-build.sh
import quincy beta 17.1.0
[ceph.git] / ceph / monitoring / ceph-mixin / jsonnet-build.sh
1 #!/bin/sh -ex
2
3 JSONNET_VERSION="v0.18.0"
4 OUTPUT_DIR=${1:-$(pwd)}
5
6 git clone -b ${JSONNET_VERSION} --depth 1 https://github.com/google/go-jsonnet.git
7 cd go-jsonnet
8 go build ./cmd/jsonnet
9 go build ./cmd/jsonnetfmt
10 mv jsonnet jsonnetfmt ${OUTPUT_DIR}