Skip to content

Commit

Permalink
Print cross version after it's installed
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed May 18, 2024
1 parent 9c2a156 commit 99e5b93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install-cross-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ cd "$CROSS_DIR"
if [[ -n $VERSION ]] && ! [[ $VERSION =~ ^v ]]; then
cargo install cross --git https://github.com/cross-rs/cross --rev "$VERSION"
mv "$HOME/.cargo/bin/cross" .
cross --version
exit 0
fi

Expand All @@ -26,3 +27,4 @@ curl --silent --location \
sh
# shellcheck disable=SC2086
./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
cross --version

0 comments on commit 99e5b93

Please sign in to comment.