Skip to content

Commit

Permalink
Added client profile projects to the signed build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Fauchelle committed Mar 4, 2015
1 parent 60d6c58 commit 60b852d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.ps1
Expand Up @@ -11,7 +11,7 @@ properties {
$solution_file_windows_phone = "$root/Mindscape.Raygun4Net.WindowsPhone.sln"
$configuration = "Release"
$build_dir = "$root\build\"
$build_dir_client_profile = "$root\build\Net3.ClientProfile"
$build_dir_client_profile = "$build_dir\Net3.ClientProfile"
$build_dir2 = "$build_dir\Net2"
$build_dir4 = "$build_dir\Net4"
$build_dir4_client_profile = "$build_dir\Net4.ClientProfile"
Expand Down
31 changes: 19 additions & 12 deletions buildSigned.ps1
@@ -1,16 +1,20 @@
properties {
$root = $psake.build_script_dir
$solution_file = "$root/Mindscape.Raygun4Net.sln"
$solution_file2 = "$root/Mindscape.Raygun4Net2.sln"
$solution_file4 = "$root/Mindscape.Raygun4Net4.sln"
$solution_file_winrt = "$root/Mindscape.Raygun4Net.WinRT.sln"
$configuration = "Sign"
$build_dir = "$root\build\"
$signed_build_dir = "$build_dir\signed"
$signed_build_dir2 = "$build_dir\signed\Net2"
$signed_build_dir4 = "$build_dir\signed\Net4"
$nuget_dir = "$root\.nuget"
$env:Path += ";$nuget_dir"
$root = $psake.build_script_dir
$solution_file = "$root/Mindscape.Raygun4Net.sln"
$solution_file_client_profile = "$root/Mindscape.Raygun4Net.ClientProfile.sln"
$solution_file2 = "$root/Mindscape.Raygun4Net2.sln"
$solution_file4 = "$root/Mindscape.Raygun4Net4.sln"
$solution_file4_client_profile = "$root/Mindscape.Raygun4Net4.ClientProfile.sln"
$solution_file_winrt = "$root/Mindscape.Raygun4Net.WinRT.sln"
$configuration = "Sign"
$build_dir = "$root\build\"
$signed_build_dir = "$build_dir\signed"
$signed_build_dir_client_profile = "$build_dir\signed\Net3.ClientProfile"
$signed_build_dir2 = "$build_dir\signed\Net2"
$signed_build_dir4 = "$build_dir\signed\Net4"
$signed_build_dir4_client_profile = "$build_dir\signed\Net4.ClientProfile"
$nuget_dir = "$root\.nuget"
$env:Path += ";$nuget_dir"
}

task default -depends Compile, CompileWinRT
Expand All @@ -27,6 +31,9 @@ task Compile -depends Init {
exec { msbuild "$solution_file" /m /p:OutDir=$signed_build_dir /p:Configuration=$configuration }
exec { msbuild "$solution_file2" /m /p:OutDir=$signed_build_dir2 /p:Configuration=$configuration }
exec { msbuild "$solution_file4" /m /p:OutDir=$signed_build_dir4 /p:Configuration=$configuration }

exec { msbuild "$solution_file_client_profile" /m /p:OutDir=$signed_build_dir_client_profile /p:Configuration=$configuration }
exec { msbuild "$solution_file4_client_profile" /m /p:OutDir=$signed_build_dir4_client_profile /p:Configuration=$configuration }
}

task CompileWinRT -depends Init {
Expand Down

0 comments on commit 60b852d

Please sign in to comment.