Skip to content

Commit

Permalink
test vcpkg search command
Browse files Browse the repository at this point in the history
  • Loading branch information
flier authored and glensc committed Apr 25, 2020
1 parent 8789aff commit fd35ae8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Formula/vcpkg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ class Vcpkg < Formula
desc "C++ Library Manager for Windows, Linux, and MacOS"
homepage "https://docs.microsoft.com/en-us/cpp/vcpkg"

stable do
url "https://github.com/microsoft/vcpkg/archive/2019.09.tar.gz"
sha256 "16c1b151cc3cf2022b03b699970e548f48cd9cd1e68db0b9c23a1d0d39391e56"
end

head do
url "https://github.com/microsoft/vcpkg.git"
url "https://github.com/microsoft/vcpkg/archive/2019.09.tar.gz"
sha256 "16c1b151cc3cf2022b03b699970e548f48cd9cd1e68db0b9c23a1d0d39391e56"
head "https://github.com/microsoft/vcpkg.git"
Expand All @@ -27,5 +20,6 @@ def install

test do
assert_match version.to_s, pipe_output("#{bin}/vcpkg version")
assert_match "zlib", pipe_output("#{bin}/vcpkg search zlib")
end
end

0 comments on commit fd35ae8

Please sign in to comment.