Deleted NuGet.exe and Get-NuGet.ps1 (we are using dotnet restore, which does 
not require it)


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

Branch: refs/heads/api-work
Commit: fe590e8ad64511968480743c409e63de0d64d5bd
Parents: 9c7394a
Author: Shad Storhaug <[email protected]>
Authored: Sun Apr 23 16:46:05 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Sun Apr 23 16:46:05 2017 +0700

----------------------------------------------------------------------
 lib/Nuget/Get-NuGet.ps1 |  36 ------------------------------------
 lib/Nuget/NuGet.exe     | Bin 4266712 -> 0 bytes
 2 files changed, 36 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/fe590e8a/lib/Nuget/Get-NuGet.ps1
----------------------------------------------------------------------
diff --git a/lib/Nuget/Get-NuGet.ps1 b/lib/Nuget/Get-NuGet.ps1
deleted file mode 100644
index 1c34c3b..0000000
--- a/lib/Nuget/Get-NuGet.ps1
+++ /dev/null
@@ -1,36 +0,0 @@
-[CmdletBinding()]
-
-$root = $PSScriptRoot
-$tools = [System.IO.Path]::Combine($root, "..", ".tools")
-$ToolToFetch = "nuget"
-
-New-Item $tools -ItemType Directory -ErrorAction Ignore | Out-Null
-
-$uri = $null
-$destination = $null
-
-# TODO Once nuget v3.5.0 is officially released, we'll go back to using the
-# `latest` URI. v3.4.0 does not understand restoring packages for .NETCoreApp,
-# while results in a lot of errors.
-# $uri = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
-$uri = "https://dist.nuget.org/win-x86-commandline/v3.5.0/NuGet.exe";
-$destination = Join-Path $tools "nuget.exe"
-
-if ($uri -eq $null -or $destination -eq $null) 
-{
-    Write-Error "Could not set the URI or destination for where to download 
the tool."
-    return -1
-}
-
-if(Test-Path $destination)
-{
-    Write-Verbose "$ToolToFetch already available"
-}
-else
-{
-    Write-Verbose "Trying to download $ToolToFetch from $uri to $destination"
-    
-    Invoke-Webrequest $uri -OutFile $destination
-}
-
-$(Resolve-Path $destination).Path
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/fe590e8a/lib/Nuget/NuGet.exe
----------------------------------------------------------------------
diff --git a/lib/Nuget/NuGet.exe b/lib/Nuget/NuGet.exe
deleted file mode 100644
index 305300a..0000000
Binary files a/lib/Nuget/NuGet.exe and /dev/null differ

Reply via email to