Build system

This package allows to simulate the behaviour of the Dart Editor with build.dart. You can read Build.dart and the Dart Editor Build System to understand available interactions with Dart Editor.

Build.dart is a simple build script convention that lets you add behavior to the Dart Editor build system. If the root of a Dart Editor project has a script named build.dart, that script is invoked during a build with information about the changed files. You can use build.dart to post-process changed files, generate other files, or drive other aspects of the build system.


First activate the package with pub global activate build_system. Now you just need to launch pub global run build_system and the build.dart file will be called at every file creation/modification/deletion.


Apache 2.0