You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Unified script to run both deno and legacy validators and save logs in a consistent location
set -u
# do not exit upon failure
set +e
cd"$(dirname "$0")/.."||exit 1
outfolder=derivatives/bids-validator/
mkdir -p "$outfolder"
rm -f "$outfolder"/*
echo"I: running deno saving into .json"
deno run --reload -A https://github.com/bids-standard/bids-validator/raw/deno-build/bids-validator.js --outfile $outfolder/deno-bids-validator.json --json "$PWD"
echo"I: running deno saving into .txt"
deno run -A https://github.com/bids-standard/bids-validator/raw/deno-build/bids-validator.js --outfile $outfolder/deno-bids-validator.txt "$PWD"