fix build for non-browser modules
This commit is contained in:
parent
ac6a0ef79c
commit
aa0454e4e3
6
index.js
6
index.js
|
@ -92,6 +92,10 @@ function startGulp(name, opts) {
|
|||
gulp.task('test', ['test:node']);
|
||||
}
|
||||
|
||||
gulp.task('noop', function() {
|
||||
return gutil.noop();
|
||||
});
|
||||
|
||||
/**
|
||||
* file generation
|
||||
*/
|
||||
|
@ -288,7 +292,7 @@ function startGulp(name, opts) {
|
|||
// Run tests with gulp test
|
||||
'test',
|
||||
// build browser files
|
||||
'browser',
|
||||
browser ? 'browser' : 'noop',
|
||||
// Update package.json and bower.json
|
||||
bumper,
|
||||
// Commit
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bitcore-build",
|
||||
"version": "0.5.3",
|
||||
"version": "0.5.4",
|
||||
"description": "A helper for common tasks to build bitcore modules'",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue