DartleDart class
Dartle built-in functionality for Dart projects.
To use it, include DartleDart.tasks in the build as follows:
final dartleDart = DartleDart();
void main(List<String> args) {
run(args, tasks: {
...dartleDart.tasks,
}, defaultTasks: {
dartleDart.build
});
}
If you want to configure DartleDart, pass an instance of DartConfig via its constructor.
Constructors
- DartleDart([DartConfig config = const DartConfig()])
Properties
- analyzeCode ↔ Task
-
latefinal
- build ↔ Task
-
latefinal
- clean ↔ Task
-
latefinal
- compileExe ↔ Task
-
latefinal
- config → DartConfig
-
final
- formatCode ↔ Task
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- rootDir → String
-
The project's root directory.
final
- runBuildRunner ↔ Task
-
latefinal
- runPubGet ↔ Task
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tasks
↔ Set<
Task> -
Get the tasks that are configured as part of a build.
latefinal
- test ↔ Task
-
latefinal
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