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


TypeScript run-sequence.default函數代碼示例

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


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

示例1: gulpRunSequence

task('e2e', (done: (err?: string) => void) => {
  gulpRunSequence(
    ':test:protractor:setup',
    'serve:e2eapp',
    ':test:protractor',
    ':serve:e2eapp:stop',
    (err: any) => done(err)
  );
});
開發者ID:BernhardRode,項目名稱:material2,代碼行數:9,代碼來源:e2e.ts

示例2: runSequence

gulp.task('test:unit', done => runSequence(
  'clean',
  [
    'task:unit_tests:compile',
    'task:worker:compile_common'
  ],
  'task:unit_tests:run',
  done
));
開發者ID:iller7,項目名稱:mobile-toolkit-ng,代碼行數:9,代碼來源:gulpfile.ts

示例3: gulpRunSequence

task('e2e:single-run', (done: (err?: string) => void) => {
  gulpRunSequence(
    ':test:protractor:setup',
    'serve:e2eapp',
    ':test:protractor',
    ':serve:e2eapp:stop',
    (err: any) => stopE2eServer() && done(err)
  );
});
開發者ID:CedricCazin,項目名稱:material2,代碼行數:9,代碼來源:e2e.ts

示例4: gulpRunSequence

task('e2e', (done: (err?: string) => void) => {
  gulpRunSequence(
    ':test:protractor:setup',
    'serve:e2eapp:watch',
    ':test:protractor',
    ':serve:e2eapp:stop',
    (err: any) => gulpConnect.serverClose() && done(err)
  );
});
開發者ID:griffiti,項目名稱:material2,代碼行數:9,代碼來源:e2e.ts

示例5: runSequence

gulp.task('build', done => runSequence(
  'clean',
  [
    'task:companion:build',
    'task:generator:build',
    'task:worker:build'
  ],
  done
));
開發者ID:SuperSoe,項目名稱:mobile-toolkit,代碼行數:9,代碼來源:gulpfile.ts

示例6: runSequence

gulp.task('build', 'build static files from source code', ['build:clean'], (callback: any) => {
  runSequence(
    'build:tslint',
    'build:js',
    'build:html',
    'build:lib',
    'build:css',
    callback
  );
});
開發者ID:TOKOFE,項目名稱:a2-select,代碼行數:10,代碼來源:gulpfile.ts

示例7: runSequence

gulp.task('test:single-run', [':test:deps'], (done: () => void) => {
  runSequence(
    ':inline-resources',
    () => {
      new karma.Server({
        configFile: path.join(PROJECT_ROOT, 'test/karma.conf.js'),
        singleRun: true
    }, done).start();
  });
});
開發者ID:jimitndiaye,項目名稱:material2,代碼行數:10,代碼來源:unit-test.ts

示例8: runSequence

gulp.task('task:build', done => runSequence(
  [
    'task:commonjs:compile',
    'task:esm:compile',
  ],
  [
    'task:companion:bundle',
    'task:worker:basic:bundle',
  ],
  'task:bundles:minify',
  done));
開發者ID:webmaxru,項目名稱:mobile-toolkit,代碼行數:11,代碼來源:gulpfile.ts

示例9: runSequence

gulp.task('test', 'run tests', (callback: any) => {
  if (argv.files) {
    runSequence(
      'test:copy',
      'test:tslint',
      'test:buildjs',
      'test:unit',
      callback
    );
  } else {
    runSequence(
      'test:clean',
      'test:copy',
      'test:tslint',
      'test:buildcss',
      'test:buildjs',
      'test:unit',
      callback
    );
  }
});
開發者ID:AdamFaron,項目名稱:FOO,代碼行數:21,代碼來源:gulpfile.ts


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