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('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
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
Loading…
Reference in New Issue