lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [2/3] lucenenet git commit: build\build.ps1: Added command to clean the .bak files in case a prior run of build failed for any reason.
Date Thu, 20 Apr 2017 19:13:21 GMT
build\build.ps1: Added command to clean the .bak files in case a prior run of build failed
for any reason.


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

Branch: refs/heads/api-work
Commit: ba5c709261f8c73af5cdaac6e59c7621927cebf4
Parents: 566d034
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Fri Apr 21 01:34:58 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Fri Apr 21 02:12:18 2017 +0700

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/ba5c7092/build/build.ps1
----------------------------------------------------------------------
diff --git a/build/build.ps1 b/build/build.ps1
index ba317b0..3c38ee6 100644
--- a/build/build.ps1
+++ b/build/build.ps1
@@ -31,6 +31,7 @@ task default -depends Pack
 
 task Clean -description "This task cleans up the build directory" {
 	Remove-Item $release_directory -Force -Recurse -ErrorAction SilentlyContinue
+	Get-ChildItem $base_directory -Include *.bak -Recurse | foreach ($_) {Remove-Item $_.FullName}
 }
 
 task Init -description "This task makes sure the build environment is correctly setup" {


Mime
View raw message