Unity build support for Cake.
C# PowerShell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tools
.appveyor.yml
.gitignore
Build.ps1
GitReleaseManager.yaml
LICENSE
README.md
setup.cake

README.md

Cake.Unity

Unity build support for Cake.

This is currently a work in progress and only supports building for Windows.
The API is not in any way final and will change.

Example

#r "tools/Cake.Unity.dll"

Task("Build")
	.Description("Builds the game.")
	.Does(() =>
{
	var projectPath = @"C:\Project\UnityGame";
	var outputPath = @"C:\Output\Game.exe";

	// Build for Windows (x86)
	UnityBuild(projectPath, new WindowsPlatform(outputPath) { 
		NoGraphics = true });

	// Build for Windows (x64)
	UnityBuild(projectPath, new WindowsPlatform(outputPath) { 
		PlatformTarget = UnityPlatformTarget.x64 });
});

RunTarget("Build");