当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript Decorators.SequenceTask函数代码示例

本文整理汇总了TypeScript中gulpclass/Decorators.SequenceTask函数的典型用法代码示例。如果您正苦于以下问题:TypeScript SequenceTask函数的具体用法?TypeScript SequenceTask怎么用?TypeScript SequenceTask使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了SequenceTask函数的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。

示例1: build

 @SequenceTask()
 build() {
     return [
         'clean:dist',
         ['sass', 'ts', 'useref', 'images', 'fonts']
     ];
 }
开发者ID:pgalias,项目名称:hexagon,代码行数:7,代码来源:gulpclass.ts

示例2: package

 /**
  * Creates a package that can be published to npm.
  */
 @SequenceTask()
 package() {
     return [
         "clean",
         "compile",
         ["packageFiles", "packagePreparePackageFile", "packageReadmeFile", "copyTypingsFile"]
     ];
 }
开发者ID:zakhenry,项目名称:class-validator,代码行数:11,代码来源:gulpfile.ts

示例3: build

 @SequenceTask('run')
 build() {
   return ['copy-source-files', 'pug', 'tsd'];
 }
开发者ID:matthewharwood,项目名称:a-frame-sandbox,代码行数:4,代码来源:gulpfile.ts

示例4: tests

 /**
  * Compiles the code and runs tests.
  */
 @SequenceTask()
 tests() {
     return ["compile", "tslint", "unit"];
 }
开发者ID:zakhenry,项目名称:class-validator,代码行数:7,代码来源:gulpfile.ts

示例5:

	@SequenceTask()
	build() {
		return ["ts::compile"];
	}
开发者ID:happy-q,项目名称:happy-q-core,代码行数:4,代码来源:gulpclass.ts

示例6: publish

 /**
  * Creates a package and publishes it to npm.
  */
 @SequenceTask()
 publish() {
     return ["package", "npmPublish"];
 }
开发者ID:zakhenry,项目名称:class-validator,代码行数:7,代码来源:gulpfile.ts

示例7: watch

 @SequenceTask('watch') // this special annotation using "run-sequence" module to run returned tasks in sequence
 watch(): any {
   return gulp.watch(this.config.paths.source, ['build']);
 }
开发者ID:molecuel,项目名称:mlcl_log,代码行数:4,代码来源:gulpclass.ts

示例8: default

 @SequenceTask('default')
 default() { // because this task has "default" name it will be run as default gulp task
   return ['build', 'watch'];
 }
开发者ID:molecuel,项目名称:mlcl_log,代码行数:4,代码来源:gulpclass.ts

示例9: testBuild

 @SequenceTask()
 testBuild() {
     return ['clean', 'configureEnvironment', 'buildTypescript'];
 }
开发者ID:fedoranimus,项目名称:typescript-mean-stack,代码行数:4,代码来源:gulpfile.ts

示例10: build

 @SequenceTask('build') // this special annotation using "run-sequence" module to run returned tasks in sequence
 build() {
   return [['clean::dist', 'ts::lint'], 'ts::compile'];
 }
开发者ID:molecuel,项目名称:mlcl_log,代码行数:4,代码来源:gulpclass.ts


注:本文中的gulpclass/Decorators.SequenceTask函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。