remove extra prints
This commit is contained in:
parent
435604cf49
commit
1cda79fd93
@ -7,8 +7,8 @@ var exec = require('child_process').exec;
|
|||||||
var sys = require('sys');
|
var sys = require('sys');
|
||||||
var puts = function(error, stdout, stderr) {
|
var puts = function(error, stdout, stderr) {
|
||||||
if (error) console.log(error);
|
if (error) console.log(error);
|
||||||
sys.puts(stdout);
|
//sys.puts(stdout);
|
||||||
sys.puts(stderr);
|
//sys.puts(stderr);
|
||||||
};
|
};
|
||||||
|
|
||||||
var pack = function(params) {
|
var pack = function(params) {
|
||||||
@ -61,7 +61,7 @@ var createBitcore = function(opts) {
|
|||||||
exec('cd ' + opts.dir + 'browser; sh concat.sh', puts);
|
exec('cd ' + opts.dir + 'browser; sh concat.sh', puts);
|
||||||
|
|
||||||
if (!opts.includeall && (!opts.submodules || opts.submodules.length === 0)) {
|
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');
|
if (!opts.stdout) console.log('Must use either -s or -a option. For more info use the --help option');
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ var createBitcore = function(opts) {
|
|||||||
});
|
});
|
||||||
modules.forEach(function(m) {
|
modules.forEach(function(m) {
|
||||||
if (opts.includeall || opts.submodules.indexOf(m) > -1) {
|
if (opts.includeall || opts.submodules.indexOf(m) > -1) {
|
||||||
console.log('Including ' + m + ' in the browser bundle');
|
if (!opts.stdout) console.log('Including ' + m + ' in the browser bundle');
|
||||||
b.require('./' + opts.dir + m + '.js', {
|
b.require('./' + opts.dir + m + '.js', {
|
||||||
expose: './' + m
|
expose: './' + m
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user