Amp-Thread-ID: https://ampcode.com/threads/T-019f8aec-e13a-7495-a56f-89bcb9e9fbc1 Co-authored-by: Amp <amp@ampcode.com>
17 lines
405 B
Bash
Executable File
17 lines
405 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"
|
|
|
|
for command in node npm cargo wasm-pack rsw; do
|
|
if ! command -v "$command" >/dev/null 2>&1; then
|
|
echo "Missing required command after orb resume: $command" >&2
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
echo "Ensuring orb development services are running..."
|
|
amp orb services ensure
|
|
|
|
echo "Orb environment ready."
|