A helper to add tasks to gulp.
Install with:
npm install bitcore-build
And use and require in your gulp file:
var gulp = require('gulp');
var bitcoreTasks = require('bitcore-build');
bitcoreTasks('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 bitcoreTasks = require('bitcore-build');
bitcoreTasks('submodule', {skipBrowsers: true});
See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.
Code released under the MIT license.
Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.