]> git.proxmox.com Git - ceph.git/blame - ceph/monitoring/ceph-mixin/jsonnet-build.sh
check in ceph 17.2.3 sources
[ceph.git] / ceph / monitoring / ceph-mixin / jsonnet-build.sh
CommitLineData
20effc67
TL
1#!/bin/sh -ex
2
3JSONNET_VERSION="v0.18.0"
4OUTPUT_DIR=${1:-$(pwd)}
5
6git clone -b ${JSONNET_VERSION} --depth 1 https://github.com/google/go-jsonnet.git
7cd go-jsonnet
8go build ./cmd/jsonnet
9go build ./cmd/jsonnetfmt
10mv jsonnet jsonnetfmt ${OUTPUT_DIR}