Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

MatkovIvan/Cake.Unity

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

Readme

License

MIT license

Stars

Watchers

Forks

Packages

Contributors

Languages

  • C# 75.5%
  • PowerShell 24.5%