ci tasks, code coverage zipping
This commit is contained in:
parent
2d81466d25
commit
3f8ede39e6
|
@ -14,6 +14,7 @@ const gulp = require('gulp'),
|
|||
const paths = {
|
||||
build: './build/',
|
||||
dist: './dist/',
|
||||
coverage: './coverage/',
|
||||
libDir: './src/lib/',
|
||||
npmDir: './node_modules/',
|
||||
popupDir: './src/popup/',
|
||||
|
@ -134,6 +135,14 @@ gulp.task('webfonts', () => {
|
|||
.pipe(gulp.dest(paths.cssDir));
|
||||
});
|
||||
|
||||
gulp.task('ci', ['ci:coverage']);
|
||||
|
||||
gulp.task('ci:coverage', (cb) => {
|
||||
return gulp.src(paths.coverage + '**/*')
|
||||
.pipe(zip('coverage.zip'))
|
||||
.pipe(gulp.dest(paths.coverage));
|
||||
});
|
||||
|
||||
// LEGACY CODE!
|
||||
|
||||
gulp.task('lint', () => {
|
||||
|
|
Loading…
Reference in New Issue