Browse Source

check submodule validity

patch-2
Manuel Araoz 11 years ago
parent
commit
e0557d0dea
  1. 7
      browser/build.js

7
browser/build.js

@ -64,6 +64,13 @@ var createBitcore = function(opts) {
process.exit(1);
}
if (opts.submodules) {
for (var i = 0; i<opts.submodules.length; i++) {
var sm = opts.submodules[i];
if (modules.indexOf(sm) === -1) throw new Error('Unknown submodule '+sm);
}
}
var bopts = {
pack : pack,
debug : true,

Loading…
Cancel
Save