stackviz/gulp/tasks/clean.js
Tim Buckley 3df8815852 Use Chrome for unit tests and update dependencies
This adds karma-chrome-launcher and uses it instead of phantomjs for
running all unit tests. Currently, the 'phantomjs-prebuilt' package
downloads binaries from bitbucket, and gate job have been failing due
to rate limiting from their servers. Since Chrome is already being
installed from local mirrors as part of the 'npm run' job template,
this should avoid further problems.

Additionally, this bumps all npm dependencies to their latest
versions and removes several (such as babel) that are unused. Some
minor tweaks to gulp tasks were needed to account for changes, but
these are fairly minimal.

Change-Id: Ia003280ab30f2912935140ecd4734ae8a08dd44d
2016-03-22 17:59:55 -06:00

12 lines
184 B
JavaScript

'use strict';
var config = require('../config');
var gulp = require('gulp');
var del = require('del');
gulp.task('clean', function(cb) {
return del([config.dist.root]);
});