1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-12-24 05:04:23 +00:00
setup-python/node_modules/ajv/scripts/prepare-tests
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

12 lines
269 B
Bash

#!/usr/bin/env sh
set -e
mkdir -p .browser
echo
echo Preparing browser tests:
find spec -type f -name '*.spec.js' | \
xargs -I {} sh -c \
'export f="{}"; echo $f; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'