github.com/dop251/goja@v0.0.0-20240220182346-e401ed450204/.tc39_test262_checkout.sh (about) 1 #!/bin/sh 2 # this is just the commit it was last tested with 3 sha=926b0960d737b9f1dfd0ec0c1dfd95d836016d33 4 5 mkdir -p testdata/test262 6 cd testdata/test262 7 git init 8 git remote add origin https://github.com/tc39/test262.git 9 git fetch origin --depth=1 "${sha}" 10 git reset --hard "${sha}" 11 cd -