当前位置: 首页>>代码示例>>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;未经允许,请勿转载。