diff options
author | James Newton-King <james@newtonking.com> | 2012-03-19 13:03:45 +0400 |
---|---|---|
committer | James Newton-King <james@newtonking.com> | 2012-03-19 13:03:45 +0400 |
commit | 167f186610c3694029df909a14c6e0a3ab446e85 (patch) | |
tree | b14ee81e2d4d5ed8b5c71587f3d69b80c5a7aaba | |
parent | 10aee582bc93901aeef160b0bdd82be153f5f188 (diff) |
-Fixed Metro build targeting ARM for some reason
-rw-r--r-- | Build/build.ps1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/build.ps1 b/Build/build.ps1 index 049231e..963492a 100644 --- a/Build/build.ps1 +++ b/Build/build.ps1 @@ -64,7 +64,7 @@ task Build -depends Clean { Write-Host -ForegroundColor Green "Building " $name
Write-Host -ForegroundColor Green "Signed " $sign
Write-Host
- exec { msbuild "/t:Clean;Rebuild" /p:Configuration=Release /p:OutputPath=bin\Release\$finalDir\ /p:AssemblyOriginatorKeyFile=$signKeyPath "/p:SignAssembly=$sign" (GetConstants $build.Constants $sign) ".\Src\$name.sln" } "Error building $name"
+ exec { msbuild "/t:Clean;Rebuild" /p:Configuration=Release "/p:Platform=Any CPU" /p:OutputPath=bin\Release\$finalDir\ /p:AssemblyOriginatorKeyFile=$signKeyPath "/p:SignAssembly=$sign" (GetConstants $build.Constants $sign) ".\Src\$name.sln" } "Error building $name"
}
}
@@ -93,7 +93,7 @@ task Package -depends Build { foreach ($frameworkDir in $frameworkDirs)
{
- robocopy "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" $workingDir\NuGet\lib\$frameworkDir /NP /XO
+ robocopy "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" $workingDir\NuGet\lib\$frameworkDir /NP /XO /XF *.pri
}
}
}
@@ -119,7 +119,7 @@ task Package -depends Build { Copy-Item -Path $docDir\readme.txt -Destination $workingDir\Package\
Copy-Item -Path $docDir\versions.txt -Destination $workingDir\Package\Bin\
- robocopy $sourceDir $workingDir\Package\Source\Src /MIR /NP /XD .svn bin obj TestResults AppPackage /XF *.suo *.user *.pri
+ robocopy $sourceDir $workingDir\Package\Source\Src /MIR /NP /XD .svn bin obj TestResults AppPackage /XF *.suo *.user
robocopy $buildDir $workingDir\Package\Source\Build /MIR /NP /XD .svn
robocopy $docDir $workingDir\Package\Source\Doc /MIR /NP /XD .svn
robocopy $toolsDir $workingDir\Package\Source\Tools /MIR /NP /XD .svn
|