Przeglądaj źródła

run tests after building

Brendan Forster 9 lat temu
rodzic
commit
f6dd8261f3
2 zmienionych plików z 6 dodań i 0 usunięć
  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