test: skip dotnet if not installed

This commit is contained in:
jdx 2024-12-23 12:04:32 -08:00
parent 82840eea0d
commit 1a663dd63e
No known key found for this signature in database
GPG Key ID: 584DADE86724B407
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/usr/bin/env bash
if ! command -v dotnet >/dev/null 2>&1; then
echo "dotnet is not installed"
exit 0
fi
export MISE_EXPERIMENTAL=1
test() {