Skip to content

MatkovIvan/Cake.Unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");

About

Unity build support for Cake.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 75.5%
  • PowerShell 24.5%