gep13 / Cake.Dart

Cake addin providing dart support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cake.Dart

A Cake AddIn that extends Cake with Dart compiler command tools.

cakebuild.net NuGet Build status

Important

0.2.0 Supports Cake 0.33+

0.1.0 Supports Cake 0.28+ and .NET Standard 2.0.

Including addin

Including addin in cake script is easy.

#addin "Cake.Dart"

Usage

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.

Credits

Brought to you by Miha Markic (@MihaMarkic) and contributors.

About

Cake addin providing dart support

License:MIT License


Languages

Language:C# 97.9%Language:PowerShell 1.8%Language:Shell 0.3%