/** | |
* TEST BOOTSTRAP FILE | |
* Runs through any bs to make sure the tests are good to go. | |
**/ | |
var fs = require('fs'), | |
path = require('path'), | |
util = require('./src/util'), | |
ncallbacks=require('ncallbacks'), | |
platforms = require('./platforms'); | |
var end = ncallbacks(platforms.length, function() { | |
process.exit(0); | |
}); | |
// If a platform library dependency does not exist, will clone it down. | |
platforms.forEach(function(p) { | |
if (!util.havePlatformLib(p)) { | |
util.getPlatformLib(p, end); | |
} | |
}); |