From 41ac6a28d247371e5f6e252a27bee40c87e36947 Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Sun, 12 Aug 2018 21:43:06 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9A=A0=EF=B8=8F=20Add=20caveats?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Homebrew/mas.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Homebrew/mas.rb b/Homebrew/mas.rb index 4c45cc5..47ee31d 100644 --- a/Homebrew/mas.rb +++ b/Homebrew/mas.rb @@ -29,6 +29,17 @@ class Mas < Formula bash_completion.install "contrib/completion/mas-completion.bash" => "mas" end + def caveats; <<~EOS + This core formula cannot be built on macOS 10.11 or older. + + Bottles for all supported macOS versions can be found on our custom tap: + + brew tap mas-cli/tap && brew tap-pin mas-cli/tap + + https://github.com/mas-cli/homebrew-tap + EOS + end + test do assert_equal version.to_s, shell_output("#{bin}/mas version").chomp end