summaryrefslogtreecommitdiff
path: root/homebrew/gitflowavh/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gitflowavh/.make.sh-auto')
-rw-r--r--homebrew/gitflowavh/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/gitflowavh/.make.sh-auto b/homebrew/gitflowavh/.make.sh-auto
new file mode 100644
index 000000000..9f7b5a326
--- /dev/null
+++ b/homebrew/gitflowavh/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+make prefix=#{libexec} DESTDIR=${PKG_DEST} install
+(bin/"git-flow").write <<~EOS
+#!/bin/bash
+export FLAGS_GETOPT_CMD=#{Formula["gnu-getopt"].opt_bin}/getopt
+exec "#{libexec}/bin/git-flow" "$@"
+EOS
+resource("completion").stage do
+bash_completion.install "git-flow-completion.bash"
+zsh_completion.install "git-flow-completion.zsh"
+fish_completion.install "git.fish"