Blame view

node_modules/ajv/scripts/prepare-tests 224 Bytes
f7563de62   Palak Handa   first commit
1
2
3
4
5
6
7
8
9
  #!/usr/bin/env sh
  
  set -e
  
  mkdir -p .browser
  
  find spec -type f -name '*.spec.js' | \
  xargs -I {} sh -c \
  'export f="{}"; browserify $f -t require-globify -t brfs -x ajv -u buffer -o $(echo $f | sed -e "s/spec/.browser/");'