-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #387 from MindscapeHQ/webapi-minor-patch-after-merge
XRAY-1598: Changes needed to release customer PR.
- Loading branch information
Showing
4 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
set EnableNuGetPackageRestore=true | ||
call .\packages\psake.4.3.2\tools\psake.cmd buildWindowsPhone.ps1 %* | ||
|
||
pause |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
properties { | ||
$root = $psake.build_script_dir | ||
$solution_file = "$root/Mindscape.Raygun4Net.WindowsPhone.sln" | ||
$configuration = "Release" | ||
$build_dir = "$root\build\WindowsPhone\" | ||
$nunit_dir = "$root\packages\NUnit.Runners.2.6.2\tools\" | ||
$tools_dir = "$root\tools" | ||
$nuget_dir = "$root\.nuget" | ||
$env:Path += ";$nunit_dir;$tools_dir;$nuget_dir" | ||
} | ||
|
||
task default -depends Compile | ||
|
||
task Clean { | ||
remove-item -force -recurse $build_dir -ErrorAction SilentlyContinue | Out-Null | ||
} | ||
|
||
task Init -depends Clean { | ||
new-item $build_dir -itemType directory | Out-Null | ||
} | ||
|
||
task Compile -depends Init { | ||
exec { msbuild "$solution_file" /m /p:OutDir=$build_dir /p:Configuration=$Configuration } | ||
} | ||
|
||
task Test -depends Compile { | ||
$test_assemblies = Get-ChildItem $build_dir -Include *Tests.dll -Name | ||
|
||
Push-Location -Path $build_dir | ||
|
||
exec { nunit-console.exe $test_assemblies } | ||
|
||
Pop-Location | ||
} |