nuget 5.3.0 (#45292)
This commit is contained in:
parent
4ee337e3cf
commit
91bcae1acc
1 changed files with 4 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
|||
class Nuget < Formula
|
||||
desc "Package manager for Microsoft development platform including .NET"
|
||||
homepage "https://www.nuget.org/"
|
||||
url "https://dist.nuget.org/win-x86-commandline/v5.2.0/nuget.exe"
|
||||
sha256 "2865714c6588ef0770b4a04bdd20dac59bcb56756d001c040664c9966f1b835a"
|
||||
url "https://dist.nuget.org/win-x86-commandline/v5.3.0/nuget.exe" # make sure libexec.install below matches case
|
||||
sha256 "96a1dc5ad572716b2ab345a6830365cf0103661ec906b0e78fd04a064a7bb730"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
depends_on "mono"
|
||||
|
||||
def install
|
||||
libexec.install "NuGet.exe" => "nuget.exe"
|
||||
libexec.install "nuget.exe" => "nuget.exe"
|
||||
(bin/"nuget").write <<~EOS
|
||||
#!/bin/bash
|
||||
mono #{libexec}/nuget.exe "$@"
|
||||
|
@ -17,6 +17,6 @@ class Nuget < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
assert_match "NuGet.Protocol.Core.v3", shell_output("#{bin}/nuget list NuGet.Protocol.Core.v3")
|
||||
assert_match "NuGet.Protocol.Core.v3", shell_output("#{bin}/nuget list packageid:NuGet.Protocol.Core.v3")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue