DartConfig class
Configuration for the DartleDart class.
Constructors
- DartConfig({bool runAnalyzer = true, bool formatCode = true, bool runTests = true, bool compileExe = true, Duration runPubGetAtMostEvery = const Duration(days: 5), String? rootDir, DartTestOutput testOutput = DartTestOutput.dartleReporter, RunCondition? buildRunnerRunCondition})
-
const
Properties
- buildRunnerRunCondition → RunCondition?
-
The RunCondition for the buildRunner task.
final
- compileExe → bool
-
Whether or not to include the "compileExe" task in the build.
final
- formatCode → bool
-
Whether or not to include the "format" task in the build.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rootDir → String?
-
Project's root directory (location of dartle.dart file, by default).
final
- runAnalyzer → bool
-
Whether or not to include the "analyzeCode" task in the build.
final
- runPubGetAtMostEvery → Duration
-
Period of time after which
pub get
should be run.final - runTests → bool
-
Whether or not to include the "test" task in the build.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testOutput → DartTestOutput
-
The type of outputs to use for tests.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited