/litecore-build

A helper to add tasks to gulp

Primary LanguageJavaScript

litecore-build

A helper to add tasks to gulp.

Getting started

Install with:

npm install litecore-build

and use and require in your gulp file:

var gulp = require('gulp');
var litecoreTasks = require('litecore-build');

litecoreTasks('submodule');
gulp.task('default', ['lint', 'test', 'browser', 'coverage']);

Notes

  • 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 litecoreTasks = require('litecore-build');
litecoreTasks('submodule', {skipBrowsers: true});

Contributing

See CONTRIBUTING.md on the main litecore repo for information about how to contribute.

License

Code released under the MIT license.

Copyright 2015 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc. Copyright 2016 The Litecoin Core Developers