File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ npm install -g pnpm@7.33.7
1010
1111echo " Installing hyperfine from GitHub release..." >&2
1212HYPERFINE_VERSION=" 1.20.0"
13+ HYPERFINE_ARCHIVE=" hyperfine-v${HYPERFINE_VERSION} -x86_64-unknown-linux-musl"
14+ HYPERFINE_URL=" https://github.com/sharkdp/hyperfine/releases/download/v${HYPERFINE_VERSION} /${HYPERFINE_ARCHIVE} .tar.gz"
1315mkdir -p " $HOME /.local/bin"
14- curl -fsSL " https://github.com/sharkdp/hyperfine/releases/download/v ${HYPERFINE_VERSION} /hyperfine-v ${HYPERFINE_VERSION} -x86_64-unknown-linux-musl.tar.gz " \
15- | tar -xz --strip-components=1 -C " $HOME /.local/bin" " hyperfine-v ${HYPERFINE_VERSION} -x86_64-unknown-linux-musl /hyperfine"
16+ curl -fsSL " $HYPERFINE_URL " \
17+ | tar -xz --strip-components=1 -C " $HOME /.local/bin" " ${HYPERFINE_ARCHIVE} /hyperfine"
You can’t perform that action at this time.
0 commit comments