當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。