A Cake AddIn that extends Cake with Dart compiler command tools.
Branch | Status |
---|---|
Master | |
Develop |
1.1.0 References Cake 4.0.0 and supports .net6, 7 and 8
1.0.0 References Cake 1.0.0
0.2.0 References Cake 0.33
0.1.0 References Cake 0.28 and .NET Standard 2.0.
Including addin in cake script is easy.
#addin "Cake.Dart"
Dart has to be installed and it's dart.exe in path.
To use the addin add it to Cake call the aliases and configure any settings you want.
#addin "Cake.Dart"
...
// Runs dart agains some.dart file using --pause-isolates-on-exit setting
Task("Dart")
.Does(() => {
// or more containers at once
DartScript(File("some.dart"), new DartSettings{ PauseIsolatesOnExit = true });
)};
Other commands follow same convention.
This version is built against Dart compiler 2.1.0.
Brought to you by Miha Markic (@MihaMarkic) and contributors.