introduce gulpfile.ci.js
parent
399ff1a2fe
commit
2f1373c0bb
|
@ -0,0 +1,59 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const gulp = require('gulp');
|
||||
const task = require('./lib/task');
|
||||
|
||||
gulp.task(task.define('win32-ia32', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-win32-ia32-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('win32-ia32-min', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-win32-ia32-min-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('win32-x64', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-win32-x64-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('win32-x64-min', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-win32-x64-min-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('linux-ia32', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-linux-ia32-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('linux-ia32-min', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-linux-ia32-min-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('linux-x64', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-linux-x64-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('linux-x64-min', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-linux-x64-min-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('darwin', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-darwin-ci')
|
||||
)));
|
||||
|
||||
gulp.task(task.define('darwin-min', task.series(
|
||||
gulp.task('compile-extensions-build'),
|
||||
gulp.task('vscode-darwin-min-ci')
|
||||
)));
|
|
@ -40,4 +40,6 @@ process.on('unhandledRejection', (reason, p) => {
|
|||
// Load all the gulpfiles only if running tasks other than the editor tasks
|
||||
const build = path.join(__dirname, 'build');
|
||||
require('glob').sync('gulpfile.*.js', { cwd: build })
|
||||
.filter(f => !/gulpfile\.ci\.js/.test(f))
|
||||
.forEach(f => require(`./build/${f}`));
|
||||
require('./build/gulpfile.ci.js');
|
Loading…
Reference in New Issue