Files
uupl-smart-contract/tools/doctor.sh
T
2026-08-17 16:01:42 -06:00

14 lines
309 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
printf '%s\n' 'Expected: Foundry 1.7.1, Node 24.18.0, npm 11.17.0'
for tool in forge anvil node npm make; do
if command -v "$tool" >/dev/null 2>&1; then
printf '%s: ' "$tool"
"$tool" --version | sed -n '1p'
else
printf '%s\n' "missing: $tool"
fi
done