Oren Novotny пре 9 година
родитељ
комит
4192f72b63
3 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      Ix.NET/Source/build-new.ps1
  2. 1 1
      Rx.NET/Source/build-new.ps1
  3. 1 1
      build.ps1

+ 1 - 1
Ix.NET/Source/build-new.ps1

@@ -32,7 +32,7 @@ dotnet restore $scriptPath | out-null
 
 Write-Host "Building projects" -Foreground Green
 $projects = gci $scriptPath -Directory `
-  | Where-Object { Test-Path (Join-Path $_.FullName "project.json")  } `
+   | Where-Object { ($_.Name -notlike "*DeviceRunner") -and (Test-Path (Join-Path $_.FullName "project.json"))  } `
 
 foreach ($project in $projects) {
   dotnet build -c "$configuration" $project.FullName  

+ 1 - 1
Rx.NET/Source/build-new.ps1

@@ -30,7 +30,7 @@ dotnet restore $scriptPath | out-null
 
 Write-Host "Building projects" -Foreground Green
 $projects = gci $scriptPath -Directory `
-  | Where-Object { Test-Path (Join-Path $_.FullName "project.json")  } `
+   | Where-Object { ($_.Name -notlike "*DeviceRunner") -and (Test-Path (Join-Path $_.FullName "project.json"))  } `
 
 foreach ($project in $projects) {
   dotnet build -c "$configuration" $project.FullName  

+ 1 - 1
build.ps1

@@ -1,6 +1,6 @@
 $repositoryRoot = split-path $MyInvocation.MyCommand.Definition
 $toolsPath = join-path $repositoryRoot ".dotnet"
-$getDotNet = join-path $toolsPath "install.ps1"
+$getDotNet = join-path $toolsPath "dotnet-install.ps1"
 $nugetExePath = join-path $toolsPath "nuget.exe"
 
 write-host "Download latest install script from CLI repo"