Files
warp/script/install_cargo_release_deps
2026-04-28 08:43:33 -05:00

29 lines
627 B
Bash
Executable File

#!/usr/bin/env bash
#
# Installs all cargo-managed dependencies required to build Warp release
# artifacts (e.g., bundled license generation).
# This script should be platform-agnostic (eg. no unix-only references like /dev/null).
NO_BUILD_DEPS=false
while [[ $# -gt 0 ]]; do
case $1 in
--no-build-deps)
NO_BUILD_DEPS=true
shift
;;
*)
echo "Unknown option: $1"
exit 1
;;
esac
done
if [ "$NO_BUILD_DEPS" = false ]; then
"$PWD"/script/install_cargo_build_deps
fi
# Install cargo-about for generating third-party license attribution.
cargo install --locked cargo-about@0.8.4