dartle
1.1.1, released 13 days ago by an unverified publisher
A Dart-based task runner and build system for defining and executing tasks.
What it does
Dartle lets you declare tasks in plain Dart code and runs only the tasks that need to run based on input/output changes. It executes tasks in parallel isolates and supports custom run conditions.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a lightweight, pure‑Dart build system for Dart/Flutter projects
- You want incremental builds with up‑to‑date checking
- You prefer defining build logic in code rather than DSLs
Skip it when
- You need a full‑featured GUI CI tool
- Your build involves non‑Dart languages or native toolchains
Strengths
- Incremental up‑to‑date detection
- Parallel task execution in isolates
- Pure Dart, no external binaries
Weaknesses
- Limited to Dart ecosystem
- Less mature than established tools like Gradle
- No built‑in support for non‑Dart tasks
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 15
Add dartle to dev_dependencies, import package:dartle/dartle.dart, define Task objects and call run() in a dartle.dart file.
import 'package:dartle/dartle.dart';
final helloTask = Task((args) => print('Hello ${args.isEmpty ? 'World' : args[0]}'));
void main(List<String> args) async => run(args, tasks: {helloTask});Alternatives
Packages that do the same job and could replace dartle.
Works with
Packages commonly used together with dartle: ones it builds on, ones built on it, and its own family.
- yamldartle depends on itA Dart library for parsing YAML documents into Dart data structures.
- cryptodartle depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- iodartle depends on itUtilities for the Dart VM Runtime including ANSI colors, file copying, and exit code values.
- clockdartle depends on itA fakeable wrapper for dart:core clock APIs.
- argsdartle depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- loggingdartle depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- convertdartle depends on itEncoders and decoders for converting between different data representations.
- tardartle depends on itMemory-efficient, streaming implementation of the tar file format