浏览代码

run tests after building

Brendan Forster 9 年之前
父节点
当前提交
f6dd8261f3
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3 0
      Ix.NET/Source/build-new.ps1
  2. 3 0
      Rx.NET/Source/build-new.ps1

+ 3 - 0
Ix.NET/Source/build-new.ps1

@@ -20,3 +20,6 @@ $projects = gci . -Directory `
 foreach ($project in $projects) {
   dnu build $project --quiet
 }
+
+Write-Host "Running tests" -Foreground Green
+dnx -p "Tests" test

+ 3 - 0
Rx.NET/Source/build-new.ps1

@@ -14,3 +14,6 @@ dnu restore . --quiet | out-null
 
 Write-Host "Building projects" -Foreground Green
 . $msbuildExe .\Rx-New.sln /m /p:Configuration=Release /p:RuntimeToolingDirectory=$runtimeDir /v:q
+
+Write-Host "Running tests" -Foreground Green
+dnx -p "Tests.System.Reactive" test