mirror of
https://github.com/warpdotdev/warp.git
synced 2026-05-06 23:32:51 +08:00
13 lines
369 B
Bash
Executable File
13 lines
369 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Installs cargo-binstall if not present, or updates it if already installed.
|
|
|
|
# This script should be platform-agnostic (eg. no unix-only references like /dev/null).
|
|
|
|
# Install cargo-binstall, then/or use it to update itself.
|
|
if ! command -v cargo-binstall; then
|
|
cargo install cargo-binstall@1.14.3 --locked
|
|
fi
|
|
|
|
cargo binstall cargo-binstall
|