A helper to add tasks to gulp.
Install with:
npm install neobitcoin-build
and use and require in your gulp file:
var gulp = require('gulp');
var neobitcoinTasks = require('neobitcoin-build');
neobitcoinTasks('submodule');
gulp.task('default', ['lint', 'test', 'browser', 'coverage']);
- There's no default task to allow for each submodule to set up their own configuration
- If the module is node-only, avoid adding the browser tasks with:
var neobitcoinTasks = require('neobitcoin-build');
neobitcoinTasks('submodule', {skipBrowsers: true});