diff options
| author | Guo Xiao | 2015-01-16 20:17:09 +0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-01-17 18:59:49 +0100 |
| commit | 6806115b79c2bfc6864336a89127a5ec4929eae8 (patch) | |
| tree | 98ecb3953fae8b77e4fd6fc7cb2e3505022f6b42 /Library/Formula/stash-cli.rb | |
| parent | 3ecff952405202ceb8aed024655015afd6423530 (diff) | |
| download | homebrew-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.rb | 16 |
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 |
