當前位置: 首頁>>代碼示例>>TypeScript>>正文


TypeScript gulpclass.SequenceTask函數代碼示例

本文整理匯總了TypeScript中gulpclass.SequenceTask函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript SequenceTask函數的具體用法?TypeScript SequenceTask怎麽用?TypeScript SequenceTask使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了SequenceTask函數的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。

示例1: package

 /**
  * Creates a package that can be published to npm.
  */
 @SequenceTask()
 package() {
     return [
         "clean",
         ["bundleCopySources", "bundleCopyMainFile"],
         ["compile", "compileBundles"],
         ["uglify"],
         ["packagePreparePackageFile", "packageReadmeFile"]
     ];
 }
開發者ID:IrieLabs,項目名稱:ngx-popover,代碼行數:13,代碼來源:gulpfile.ts

示例2: package

 /**
  * Creates a package that can be published to npm.
  */
 @SequenceTask()
 package() {
     return [
         "clean",
         "packageCompile",
         "packageMoveCompiledFiles",
         "packageClearCompileDirectory",
         ["packagePreparePackageFile", "packageReadmeFile", "copyTypingsFile"]
     ];
 }
開發者ID:gitter-badger,項目名稱:class-validator,代碼行數:13,代碼來源:gulpfile.ts

示例3: tests

 /**
  * Compiles the code and runs tests + makes coverage report.
  */
 @SequenceTask()
 tests() {
     return [
         "compile",
         "coveragePre",
         "runTests",
         "coveragePost",
         "coverageRemap"
     ];
 }
開發者ID:waltercassiano,項目名稱:typeorm,代碼行數:13,代碼來源:gulpfile.ts

示例4: ciTests

 /**
  * Runs tests, but creates a small delay before running them to make sure to give time for docker containers to be initialized.
  */
 @SequenceTask("ci-tests")
 ciTests() {
     return [
         "clean",
         "compile",
         "tslint",
         "wait",
         "coveragePre",
         "runTests",
         "coveragePost",
         "coverageRemap"
     ];
 }
開發者ID:waltercassiano,項目名稱:typeorm,代碼行數:16,代碼來源:gulpfile.ts

示例5: package

 /**
  * Creates a package that can be published to npm.
  */
 @SequenceTask()
 package() {
     return [
         "clean",
         ["browserCopySources", "browserCopyPlatformTools"],
         ["packageCompile", "browserCompile"],
         "packageMoveCompiledFiles",
         [
             "browserClearPackageDirectory",
             "packageClearPackageDirectory",
             "packageReplaceReferences",
             "packagePreparePackageFile",
             "packageCopyReadme",
             "packageCopyShims"
         ],
     ];
 }
開發者ID:waltercassiano,項目名稱:typeorm,代碼行數:20,代碼來源:gulpfile.ts

示例6: tests

 /**
  * Compiles the code and runs tests.
  */
 @SequenceTask()
 tests() {
     return ["clean", "compile", "tslint", "unit"];
 }
開發者ID:IrieLabs,項目名稱:ngx-popover,代碼行數:7,代碼來源:gulpfile.ts

示例7: publish

 /**
  * Creates a package and publishes it to npm.
  */
 @SequenceTask()
 publish() {
     return ["package", "npmPublish"];
 }
開發者ID:IrieLabs,項目名稱:ngx-popover,代碼行數:7,代碼來源:gulpfile.ts

示例8: SequenceTask

 export function SequenceTask(metaArgs?: TaskMetadataArgs | string): Function {
   const args = parseMetaArgs(metaArgs);
   return gulpclass.SequenceTask(args.name);
 }
開發者ID:shlomiassaf,項目名稱:ng2-chess,代碼行數:4,代碼來源:gulpclass.ts

示例9: publishNext

 /**
  * Creates a package and publishes it to npm with @next tag.
  */
 @SequenceTask("publish-next")
 publishNext() {
     return ["package", "packagePublishNext"];
 }
開發者ID:waltercassiano,項目名稱:typeorm,代碼行數:7,代碼來源:gulpfile.ts


注:本文中的gulpclass.SequenceTask函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。