PackageRunCiOptions constructor
PackageRunCiOptions({
- bool formatOnly = false,
- bool testOnly = false,
- bool buildOnly = false,
- bool analyzeOnly = false,
- bool pubGetOnly = false,
- bool verbose = false,
- bool recursive = false,
- bool pubUpgradeOnly = false,
- bool pubDowngradeOnly = false,
- bool fixOnly = false,
- bool noNodeTest = false,
- bool noVmTest = false,
- bool noBrowserTest = false,
- bool noTest = false,
- bool noAnalyze = false,
- bool noFormat = false,
- bool noPubGet = false,
- bool noBuild = false,
- bool offline = false,
- bool noNpmInstall = false,
- int? poolSize,
- bool noOverride = false,
- bool dryRun = false,
- bool prjInfo = false,
- bool noRunCi = false,
- bool ignoreErrors = false,
- FilterDartProjectOptions? filterDartProjectOptions,
- 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;
}
}