Created
April 1, 2015 20:40
-
-
Save jonathanpeppers/9c4b181e16dc113bcfa5 to your computer and use it in GitHub Desktop.
Windows / Unity3D / FAKE build targets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let windowsSolution = "Scratch/WinRT/YourGame.sln" | |
let parameters = [ | |
("Configuration", "Release") | |
("AppxBundle", "Auto") | |
("AppxPackage", "True") | |
("AppxPackageIsForStore", "True") | |
("AppxPackageDir", "../../../../build/") | |
("AppxPackageDirWasSpecified", "True") | |
("AppVersion", versionNumber) | |
] | |
Target "winrt-player" (fun () -> | |
Unity "-executeMethod BuildScript.Windows" | |
) | |
Target "winrt" (fun () -> | |
RestorePackages windowsSolution | |
MSBuild "" "Build" (("Platform", "x86") :: parameters) [ windowsSolution ] |> ignore | |
MSBuild "" "Build" (("Platform", "ARM") :: parameters) [ windowsSolution ] |> ignore | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment