Skip to content
pubscout

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.

$ flutter pub add dartle
Source repository

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.

  • watcher

    Provides file‑system watching without the full task‑runner features, useful if you only need change detection

Works with

Packages commonly used together with dartle: ones it builds on, ones built on it, and its own family.