lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [1/2] lucenenet git commit: build\build.ps1: Attempting to fix "illegal characters in path" when running tests on .NET Core 1.0
Date Fri, 15 Sep 2017 05:45:04 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 34ef2ce56 -> b781e1178


build\build.ps1: Attempting to fix "illegal characters in path" when running tests on .NET
Core 1.0


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/543ff4fe
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/543ff4fe
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/543ff4fe

Branch: refs/heads/master
Commit: 543ff4feaaa7d3874f9edbc57d76a40834636507
Parents: 34ef2ce
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Sep 15 12:32:21 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Fri Sep 15 12:44:26 2017 +0700

----------------------------------------------------------------------
 build/build.ps1 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/543ff4fe/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index b58b195..3cd5c4e 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -189,8 +189,8 @@ task Pack -depends Compile -description "This task creates the NuGet packages"
{
 		$packages = Get-ChildItem -Path "$source_directory\**\*.csproj" -Recurse | ? { 
 			!$_.Directory.Name.Contains(".Test") -and 
 			!$_.Directory.Name.Contains(".Demo") -and 
-			!$_.Directory.Name.Contains(".Cli") -and 
-			!$_.Directory.Name.Contains("lucene-cli") -and 
+			!$_.Directory.FullName.Contains("\tools\") -and 
+			!$_.Directory.FullName.Contains("/tools/") -and 
 			!$_.Directory.Name.Contains(".Replicator.AspNetCore")
 		}
 		popd
@@ -231,7 +231,7 @@ task Test -depends InstallSDK1IfRequired, InstallSDK2IfRequired, Restore
-descri
 			Ensure-Directory-Exists $testResultDirectory
 
 			if ($framework.StartsWith("netcore")) {
-				$testExpression = "dotnet.exe test '$testProject' --configuration $configuration --framework
$framework --no-build"
+				$testExpression = "dotnet.exe test `"$testProject`" --configuration $configuration --framework
`"$framework`" --no-build"
 				if ($framework -ne "netcoreapp1.0") {
 					$testExpression = "$testExpression --no-restore"
 					$testExpression = "$testExpression --results-directory $testResultDirectory\TestResult.xml"


Mime
View raw message