Integrate new minicap along with a moderate rewrite. What's currently missing is recovering from socket death.

This commit is contained in:
Simo Kinnunen
2015-04-15 18:55:46 +09:00
parent 6fe4f8ae1b
commit 95e9dd0b82
43 changed files with 1138 additions and 438 deletions

View File

@@ -1,4 +1,5 @@
var util = require('util')
var path = require('path')
var Promise = require('bluebird')
var syrup = require('stf-syrup')
@@ -87,6 +88,14 @@ module.exports = syrup.serial()
return {
bin: resources.bin.dest
, lib: resources.lib.dest
, run: function(cmd) {
return adb.shell(options.serial, util.format(
'LD_LIBRARY_PATH=%s exec %s %s'
, path.dirname(resources.lib.dest)
, resources.bin.dest
, cmd
))
}
}
})
})