Skip to content

Commit a567f9e

Browse files
committed
Boom: install jrsonnet v0.5.0-pre96-test from GitHub Releases with curl
1 parent b8b3cb3 commit a567f9e

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

examples/mobc/boom-tools/install.sh

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -Cue
22

33
export BINSTALL_VERSION="v1.10.14"
4-
export CARGO_NET_GIT_FETCH_WITH_CLI=true
4+
export JRSONNET_VERSION="v0.5.0-pre96-test"
55

66
curl -L --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/${BINSTALL_VERSION}/install-from-binstall-release.sh" | env BINSTALL_VERSION=${BINSTALL_VERSION} CARGO_HOME=$(pwd) bash
77

@@ -11,4 +11,12 @@ curl -L --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/cargo
1111
./bin/cargo-binstall --root . kble --version 0.3.0 --no-confirm
1212
./bin/cargo-binstall --root . kble-c2a --version 0.3.0 --no-confirm
1313
./bin/cargo-binstall --root . kble-eb90 --version 0.3.0 --no-confirm
14-
cargo install --debug --root . jrsonnet --version 0.5.0-pre9 --locked
14+
15+
## install jrsonnet
16+
arch=$(uname -m)
17+
if [ "$arch" = "x86_64" ]; then
18+
arch="amd64"
19+
fi
20+
os=$(uname -s | tr -s '[:upper:]' '[:lower:]')
21+
curl -L "https://github.com/CertainLach/jrsonnet/releases/download/${JRSONNET_VERSION}/jrsonnet-linux-${arch}" -o ./bin/jrsonnet
22+
chmod +x ./bin/jrsonnet

examples/subobc/boom-tools/install.sh

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -Cue
22

33
export BINSTALL_VERSION="v1.10.14"
4-
export CARGO_NET_GIT_FETCH_WITH_CLI=true
4+
export JRSONNET_VERSION="v0.5.0-pre96-test"
55

66
curl -L --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/cargo-bins/cargo-binstall/${BINSTALL_VERSION}/install-from-binstall-release.sh" | env BINSTALL_VERSION=${BINSTALL_VERSION} CARGO_HOME=$(pwd) bash
77

@@ -11,4 +11,12 @@ curl -L --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/cargo
1111
./bin/cargo-binstall --root . kble --version 0.3.0 --no-confirm
1212
./bin/cargo-binstall --root . kble-c2a --version 0.3.0 --no-confirm
1313
./bin/cargo-binstall --root . kble-eb90 --version 0.3.0 --no-confirm
14-
cargo install --debug --root . jrsonnet --version 0.5.0-pre9 --locked
14+
15+
## install jrsonnet
16+
arch=$(uname -m)
17+
if [ "$arch" = "x86_64" ]; then
18+
arch="amd64"
19+
fi
20+
os=$(uname -s | tr -s '[:upper:]' '[:lower:]')
21+
curl -L "https://github.com/CertainLach/jrsonnet/releases/download/${JRSONNET_VERSION}/jrsonnet-linux-${arch}" -o ./bin/jrsonnet
22+
chmod +x ./bin/jrsonnet

0 commit comments

Comments
 (0)