Necessary to implement the installation of Rust and associated crates which can be used by downstream configurations. This functionality was originally part of the macOS Configuration project but has been moved here to provide a common foundation in which to build upon.
18 lines
324 B
Bash
Executable File
18 lines
324 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# Installs Rust crates.
|
|
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o pipefail
|
|
IFS=$'\n\t'
|
|
|
|
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_rust_crates"
|
|
|
|
if [[ -x "$SCRIPT_PATH" ]]; then
|
|
install_rust
|
|
"$SCRIPT_PATH"
|
|
else
|
|
printf "WARNING: Rust crates install script does not exist or is not executable.\n"
|
|
fi
|