A helper to add tasks to gulp.
Install with:
npm install ducatus-build
And use and require in your gulp file:
var gulp = require('gulp');
var ducatuscoreTasks = require('@ducatus/ducatuscore-build');
ducatuscoreTasks('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 ducatuscoreTasks = require('ducatuscore-build');
ducatuscoreTasks('submodule', {skipBrowsers: true});