Skip to content

Instantly share code, notes, and snippets.

@jonathanpeppers
Created March 2, 2015 20:40
Show Gist options
  • Save jonathanpeppers/2840ca2aac2fc2c83150 to your computer and use it in GitHub Desktop.
Save jonathanpeppers/2840ca2aac2fc2c83150 to your computer and use it in GitHub Desktop.
Windows Universal FAKE example
let winParameters = [
("Configuration", "Release")
("AppxBundle", "Auto")
("AppxBuildConfigurationSelection", "neutral")
("AppxPackage", "True")
("AppxPackageIsForStore", "True")
("AppxPackageDir", "../../../build/")
("AppxPackageDirWasSpecified", "true")
("AppVersion", versionNumber)
]
//Other variables
Target "win8" (fun () ->
MSBuild "" "Build" winParameters [ win8Solution ] |> ignore
)
Target "winphone" (fun () ->
MSBuild "" "Build" winParameters [ winPhoneSolution ] |> ignore
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment