lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [2/6] lucenenet git commit: build.bat: updated to use build\build.ps1
Date Wed, 12 Apr 2017 15:26:16 GMT
build.bat: updated to use build\build.ps1


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

Branch: refs/heads/api-work
Commit: 1a20d6a585f193aa6b218afaa2dce19dc3bfa635
Parents: c1dc06d
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Wed Apr 12 21:49:27 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Wed Apr 12 21:49:27 2017 +0700

----------------------------------------------------------------------
 build.bat | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1a20d6a5/build.bat
----------------------------------------------------------------------
diff --git a/build.bat b/build.bat
index 8c0a22a..fa3d3fc 100644
--- a/build.bat
+++ b/build.bat
@@ -93,9 +93,9 @@ FOR %%a IN (%*) DO (
 )
 
 if "!runtests!"=="true" (
-	powershell -ExecutionPolicy Bypass -Command "& .\runbuild.ps1 -CreatePackages -Version
\"%version%\" -PackageVersion \"%PackageVersion%\" -Configuration \"%configuration%\" -RunTests
-FrameworksToTest @(\""net451\"", \""netcoreapp1.0\"")"
+	powershell -ExecutionPolicy Bypass -Command "& { Import-Module .\build\psake.psm1; Invoke-Psake
.\build\build.ps1 -task Test -properties @{\"version\"=\"%version%\";\"configuration\"=\"%configuration%"\";\"packageVersion\"=\"%PackageVersion%"\"}
}"
 ) else (
-	powershell -ExecutionPolicy Bypass -Command "& .\runbuild.ps1 -CreatePackages -Version
\"%version%\" -PackageVersion \"%PackageVersion%\" -Configuration \"%configuration%\""
+	powershell -ExecutionPolicy Bypass -Command "& { Import-Module .\build\psake.psm1; Invoke-Psake
.\build\build.ps1 -properties @{\"version\"=\"%version%\";\"configuration\"=\"%configuration%"\";\"packageVersion\"=\"%PackageVersion%"\"}
}"
 )
 
 endlocal
\ No newline at end of file


Mime
View raw message