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, FileCollection? sources, FileCollection? buildSources, FileCollection? testSources, DartTestOutput testOutput = DartTestOutput.dartleReporter, RunCondition? buildRunnerRunCondition})
const

Properties

buildRunnerRunCondition RunCondition?
The RunCondition for the buildRunner task.
final
buildSources FileCollection?
Build source locations. Must be relative to rootDir. By default, only Dart files in the dartle-src directory and the dartle.dart file itself are included.
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
sources FileCollection?
Non-test source locations. Must be relative to rootDir. By default, only Dart files in the lib and bin directories are included.
final
testOutput DartTestOutput
The type of outputs to use for tests.
final
testSources FileCollection?
Test source locations. Must be relative to rootDir. By default, only Dart files in the test and example directories are included.
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