PackageRunCiOptions constructor

PackageRunCiOptions({
  1. bool formatOnly = false,
  2. bool testOnly = false,
  3. bool buildOnly = false,
  4. bool analyzeOnly = false,
  5. bool pubGetOnly = false,
  6. bool verbose = false,
  7. bool recursive = false,
  8. bool pubUpgradeOnly = false,
  9. bool pubDowngradeOnly = false,
  10. bool fixOnly = false,
  11. bool noNodeTest = false,
  12. bool noVmTest = false,
  13. bool noBrowserTest = false,
  14. bool noTest = false,
  15. bool noAnalyze = false,
  16. bool noFormat = false,
  17. bool noPubGet = false,
  18. bool noBuild = false,
  19. bool offline = false,
  20. bool noNpmInstall = false,
  21. int? poolSize,
  22. bool noOverride = false,
  23. bool dryRun = false,
  24. bool prjInfo = false,
  25. bool noRunCi = false,
  26. bool ignoreErrors = false,
  27. FilterDartProjectOptions? filterDartProjectOptions,
  28. bool printPath = false,
})

Package run ci options.

Implementation

PackageRunCiOptions({
  this.formatOnly = false,
  this.testOnly = false,
  this.buildOnly = false,
  this.analyzeOnly = false,
  this.pubGetOnly = false,
  this.verbose = false,
  this.recursive = false,
  this.pubUpgradeOnly = false,
  this.pubDowngradeOnly = false,
  this.fixOnly = false,
  this.noNodeTest = false,
  this.noVmTest = false,
  this.noBrowserTest = false,
  this.noTest = false,
  this.noAnalyze = false,
  this.noFormat = false,
  this.noPubGet = false,
  this.noBuild = false,
  this.offline = false,
  this.noNpmInstall = false,
  this.poolSize,
  this.noOverride = false,
  this.dryRun = false,
  this.prjInfo = false,
  this.noRunCi = false,
  this.ignoreErrors = false,
  this.filterDartProjectOptions,
  this.printPath = false,
}) {
  var isOnlyAction = (formatOnly ||
      buildOnly ||
      testOnly ||
      analyzeOnly ||
      pubGetOnly ||
      pubUpgradeOnly ||
      fixOnly);
  if (isOnlyAction) {
    noTest = !testOnly;

    noBuild = !buildOnly;
    noAnalyze = !analyzeOnly;
    noFormat = !formatOnly;
  }
}