Make javascript test-suite work with nodejs.

This commit is contained in:
Oliver Buchtala 2013-09-03 16:57:40 +02:00
commit 8bbd928831
37 changed files with 98 additions and 39 deletions

View file

@ -0,0 +1,6 @@
#!/bin/sh
if [ ! -d $1 ]; then
mkdir $1;
fi
echo "module.exports = require('./build/Release/$1')" > $1/index.js
echo "{\"targets\":[{\"target_name\": \"$1\",\"sources\":[\"$1_wrap.cxx\"]}]}" > $1/binding.gyp