本文整理汇总了TypeScript中gulp-sequence.default函数的典型用法代码示例。如果您正苦于以下问题:TypeScript default函数的具体用法?TypeScript default怎么用?TypeScript default使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了default函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的TypeScript代码示例。
示例1: require
export = gulp.task('karma', (callback: () => void) => {
const sequence = require('gulp-sequence');
sequence('clean', 'karma:build', 'karma:run', 'karma:remap', 'karma:clean', callback);
});
开发者ID:mogusbi,项目名称:ts-starter,代码行数:5,代码来源:karma.ts
示例2: sequence
export = gulp.task('development:run', (callback: () => void) => {
sequence('development:build', 'serve', 'watch', callback);
});
开发者ID:mogusbi,项目名称:ts-starter,代码行数:3,代码来源:run.ts
示例3: sequence
export = gulp.task('development:build', (callback: () => void) => {
// sequence('clean', 'karma', 'lint', 'fonts', ['development:styles', 'development:html'], 'favicons', callback);
sequence('clean', 'lint', 'fonts', ['development:styles', 'development:html'], 'favicons', callback);
});
开发者ID:mogusbi,项目名称:ts-starter,代码行数:4,代码来源:build.ts
示例4: spawnNode
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
import * as gulp from 'gulp';
import * as path from 'path';
import { codeExtensionPath, nycPath, rootPath, testAssetsRootPath, testRootPath, unitTestCoverageRootPath, mochaPath, vscodeTestHostPath } from './projectPaths';
import spawnNode from './spawnNode';
const gulpSequence = require('gulp-sequence');
gulp.task("test", gulpSequence(
"test:feature",
"test:unit",
"test:integration"));
gulp.task("test:feature", async () => {
let env = {
...process.env,
OSVC_SUITE: "featureTests",
CODE_TESTS_PATH: path.join(testRootPath, "featureTests")
};
return spawnNode([vscodeTestHostPath], {
env
});
});
gulp.task("test:unit", async () => {
开发者ID:peterblazejewicz,项目名称:omnisharp-vscode,代码行数:32,代码来源:testTasks.ts
注:本文中的gulp-sequence.default函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论