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
40
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

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

Homepage

License

MIT (license)

Dependencies

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

More

Packages that depend on dmake