prepare-tests (269B)
1 #!/usr/bin/env sh 2 3 set -e 4 5 mkdir -p .browser 6 7 echo 8 echo Preparing browser tests: 9 10 find spec -type f -name '*.spec.js' | \ 11 xargs -I {} sh -c \ 12 'export f="{}"; echo $f; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'