autolevel.js

Automatically use the right abstract-leveldown module for your configuration
git clone git://git.finwo.net/lib/autolevel.js
Log | Files | Refs | README | LICENSE

test.sh (302B)


      1 #!/usr/bin/env bash
      2 
      3 # Ensure bash in approot
      4 [ "$BASH" ] || exec bash $0 "$@"
      5 cd "$(dirname "$0")/.."
      6 
      7 # Ensure our dependencies are installed
      8 [ -f "node_modules/.bin/tape" ] || npm install --save-dev tape
      9 
     10 FILES=$(find -name '*.test.js' | egrep -v '\/node_modules\/')
     11 node_modules/.bin/tape ${FILES}