Skip to content

Commit b669b90

Browse files
committed
refactor(devcontainer): rename some variables
1 parent 99670f7 commit b669b90

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.devcontainer/post-create.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ npm install -g pnpm@7.33.7
99
(cd ci/github-actions && pnpm install)
1010

1111
echo "Installing hyperfine from GitHub release..." >&2
12-
HYPERFINE_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"
12+
hyperfine_version="1.20.0"
13+
hyperfine_archive_name="hyperfine-v${hyperfine_version}-x86_64-unknown-linux-musl"
14+
hyperfine_url="https://github.com/sharkdp/hyperfine/releases/download/v${hyperfine_version}/${hyperfine_archive_name}.tar.gz"
1515
mkdir -p "$HOME/.local/bin"
16-
curl -fsSL "$HYPERFINE_URL" \
17-
| tar -xz --strip-components=1 -C "$HOME/.local/bin" "${HYPERFINE_ARCHIVE}/hyperfine"
16+
curl -fsSL "$hyperfine_url" \
17+
| tar -xz --strip-components=1 -C "$HOME/.local/bin" "${hyperfine_archive_name}/hyperfine"

0 commit comments

Comments
 (0)