fix build for non-browser modules

This commit is contained in:
Manuel Araoz 2015-01-22 15:55:15 -03:00
parent ac6a0ef79c
commit aa0454e4e3
2 changed files with 6 additions and 2 deletions

View File

@ -92,6 +92,10 @@ function startGulp(name, opts) {
gulp.task('test', ['test:node']); gulp.task('test', ['test:node']);
} }
gulp.task('noop', function() {
return gutil.noop();
});
/** /**
* file generation * file generation
*/ */
@ -288,7 +292,7 @@ function startGulp(name, opts) {
// Run tests with gulp test // Run tests with gulp test
'test', 'test',
// build browser files // build browser files
'browser', browser ? 'browser' : 'noop',
// Update package.json and bower.json // Update package.json and bower.json
bumper, bumper,
// Commit // Commit

View File

@ -1,6 +1,6 @@
{ {
"name": "bitcore-build", "name": "bitcore-build",
"version": "0.5.3", "version": "0.5.4",
"description": "A helper for common tasks to build bitcore modules'", "description": "A helper for common tasks to build bitcore modules'",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {