diff options
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gulpfile.js b/gulpfile.js index 57d20c54a..caddb620a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -313,6 +313,7 @@ createTasksForBuildJsUIDeps({ dependenciesToBundle: uiDependenciesToBundle, file createTasksForBuildJsExtension({ buildJsFiles, taskPrefix: 'dev:extension:js', devMode: true }) createTasksForBuildJsExtension({ buildJsFiles, taskPrefix: 'dev:test-extension:js', devMode: true, testing: 'true' }) createTasksForBuildJsExtension({ buildJsFiles, taskPrefix: 'build:extension:js' }) +createTasksForBuildJsExtension({ buildJsFiles, taskPrefix: 'build:test:extension:js', testing: 'true' }) function createTasksForBuildJsUIDeps ({ dependenciesToBundle, filename }) { const destinations = browserPlatforms.map(platform => `./dist/${platform}`) @@ -445,6 +446,19 @@ gulp.task('build', ) ) +gulp.task('build:test', + gulp.series( + 'clean', + 'build:scss', + gulpParallel( + 'build:extension:js:uideps', + 'build:test:extension:js', + 'copy' + ), + 'manifest:testing' + ) +) + gulp.task('build:extension', gulp.series( 'clean', |