dmake 0.0.3 copy "dmake: ^0.0.3" to clipboard
dmake: ^0.0.3 copied to clipboard

Simple, flexible build system in Dart. Inspired by CMake and GNU Make.

example/example.dart

import 'package:dmake/dmake.dart';
import 'package:dmake/dart.dart';

main(List<String> args) {
  make(args, () {
    if (isRelease) {
      // Build to JS in release mode.
      dart2js('web/main.dart');
    } else {
      // Run all web/ files through dartdevc.
      all(glob('web/*.dart', recursive: false), dartdevc);
    }
  });
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Simple, flexible build system in Dart. Inspired by CMake and GNU Make.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

args, glob, graphs, io, logging, mime, path, rxdart, watcher

More

Packages that depend on dmake