add dir option
This commit is contained in:
parent
c72cab1803
commit
b1c038b4d0
|
@ -56,8 +56,11 @@ var modules = [
|
|||
|
||||
var createBitcore = function(opts) {
|
||||
|
||||
|
||||
opts.dir = opts.dir || '';
|
||||
|
||||
// concat browser vendor files
|
||||
exec('cd browser; sh concat.sh', puts);
|
||||
exec('cd '+opts.dir+'browser; sh concat.sh', puts);
|
||||
|
||||
if (!opts.includeall && (!opts.submodules || opts.submodules.length === 0)) {
|
||||
console.log('Must use either -s or -a option. For more info use the --help option');
|
||||
|
|
Loading…
Reference in New Issue