Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C0F97200C5C for ; Thu, 20 Apr 2017 21:13:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BFB86160BB1; Thu, 20 Apr 2017 19:13:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3A40C160BB0 for ; Thu, 20 Apr 2017 21:13:23 +0200 (CEST) Received: (qmail 69230 invoked by uid 500); 20 Apr 2017 19:13:22 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 69166 invoked by uid 99); 20 Apr 2017 19:13:21 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2017 19:13:21 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E2610F4A25; Thu, 20 Apr 2017 19:13:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nightowl888@apache.org To: commits@lucenenet.apache.org Date: Thu, 20 Apr 2017 19:13:21 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer 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. archived-at: Thu, 20 Apr 2017 19:13:23 -0000 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 Authored: Fri Apr 21 01:34:58 2017 +0700 Committer: Shad Storhaug 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" {