aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fish.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/fish.rb')
-rw-r--r--Library/Formula/fish.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
index 4b6716693..3af3c2222 100644
--- a/Library/Formula/fish.rb
+++ b/Library/Formula/fish.rb
@@ -5,10 +5,13 @@ class Fish < Formula
url 'http://fishshell.com/files/2.0.0/fish-2.0.0.tar.gz'
sha1 '2d28553e2ff975f8e5fed6b266f7a940493b6636'
- head 'https://github.com/fish-shell/fish-shell.git'
+ head do
+ url 'https://github.com/fish-shell/fish-shell.git'
+
+ # Indeed, the head build always builds documentation
+ depends_on 'doxygen' => :build
+ end
- # Indeed, the head build always builds documentation
- depends_on 'doxygen' => :build if build.head?
depends_on :autoconf
skip_clean 'share/doc'