#!/bin/sh

set -eu

cd test/
npm link hbsfy
node test.js
node browserify_test.js
node custom_extension_test.js


#!/bin/sh

set -eu
set -x

# Make require("hbsfy") work
if [ ! -h node_modules/hbsfy ]; then
    rm -rf node_modules/hbsfy
    ln -fs .. node_modules/hbsfy
fi

cd test/

for test_file in *test.js
do
    node "$test_file"
done


Use symlinks to make hbsfy requireable
Use symlinks to make hbsfy requireable

and generalize the test runner
