Last active
April 13, 2020 22:11
-
-
Save issyl0/960076397d48af27c97ce1b0d2c82abb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Formula/gds-cli.rb b/Formula/gds-cli.rb | |
index bddbfa7..b315cc0 100644 | |
--- a/Formula/gds-cli.rb | |
+++ b/Formula/gds-cli.rb | |
@@ -9,7 +9,10 @@ class GdsCli < Formula | |
depends_on "go" => :build | |
depends_on "awscli" | |
- depends_on "aws-vault" if OS.linux? | |
+ | |
+ on_linux do | |
+ depends_on "aws-vault" | |
+ end | |
def install | |
system "make" | |
@@ -23,9 +26,9 @@ class GdsCli < Formula | |
end | |
+ on_macos do | |
+ def caveats | |
+ "gds-cli depends on aws-vault being installed. You can install it with `brew cask install aws-vault`." | |
+ end | |
end | |
test do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment