aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/stash-cli.rb
diff options
context:
space:
mode:
authorGuo Xiao2015-01-16 20:17:09 +0800
committerMike McQuaid2015-01-17 18:59:49 +0100
commit6806115b79c2bfc6864336a89127a5ec4929eae8 (patch)
tree98ecb3953fae8b77e4fd6fc7cb2e3505022f6b42 /Library/Formula/stash-cli.rb
parent3ecff952405202ceb8aed024655015afd6423530 (diff)
downloadhomebrew-6806115b79c2bfc6864336a89127a5ec4929eae8.tar.bz2
stash-cli 3.9.0 (new formula)
Closes #35940. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/stash-cli.rb')
-rw-r--r--Library/Formula/stash-cli.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/stash-cli.rb b/Library/Formula/stash-cli.rb
new file mode 100644
index 000000000..6dfb58394
--- /dev/null
+++ b/Library/Formula/stash-cli.rb
@@ -0,0 +1,16 @@
+class StashCli < Formula
+ homepage "https://bobswift.atlassian.net/wiki/display/SCLI/Stash+Command+Line+Interface"
+ url "https://bobswift.atlassian.net/wiki/download/attachments/16285777/stash-cli-3.9.0-distribution.zip?api=v2"
+ version "3.9.0"
+ sha1 "f615519894b194959754b9a7b5fb9bc03855dbcd"
+
+ def install
+ inreplace "stash.sh", "`dirname $0`", share
+ share.install "lib", "license"
+ bin.install "stash.sh" => "stash"
+ end
+
+ test do
+ assert shell_output(bin/"stash --help 2>&1 | head").include?("Usage:")
+ end
+end