You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/07/06 13:07:11 UTC

[14/14] lucenenet git commit: Changed build script to exclude the Demo package because it is not for consumption via NuGet.

Changed build script to exclude the Demo package because it is not for consumption via NuGet.


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

Branch: refs/heads/master
Commit: 93f57ed1762a0de0a0aca737f774407b7f6f78b5
Parents: f0b56fd
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Jul 6 20:05:19 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Jul 6 20:05:19 2017 +0700

----------------------------------------------------------------------
 build/build.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/93f57ed1/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index efdac20..312ec01 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -132,7 +132,7 @@ task Compile -depends Clean, Init -description "This task compiles the solution"
 task Pack -depends Compile -description "This task creates the NuGet packages" {
 	try {
 		pushd $base_directory
-		$packages = Get-ChildItem -Path "project.json" -Recurse | ? { !$_.Directory.Name.Contains(".Test") }
+		$packages = Get-ChildItem -Path "project.json" -Recurse | ? { !$_.Directory.Name.Contains(".Test") -and !$_.Directory.Name.Contains(".Demo") }
 		popd
 
 		Pack-Assemblies $packages