mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-21 21:11:35 +01:00
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
Block a user