gws 0.1.7 (new formula)

Closes Homebrew/homebrew#38007.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Frode Aannevik 2015-03-23 23:36:09 +01:00 committed by Mike McQuaid
parent 461f63258f
commit f17d48b16c

23
Formula/gws.rb Normal file
View file

@ -0,0 +1,23 @@
class Gws < Formula
homepage "https://streakycobra.github.io/gws/"
desc "A KISS, bash, colorful helper to manage git repositories"
url "https://github.com/StreakyCobra/gws/archive/0.1.7.tar.gz"
sha256 "36c25392f5cb93a39441a1973842249a62b605a2a7e369a040c78450683697d0"
depends_on "bash"
def install
bin.install "src/gws"
bash_completion.install "completions/bash"
zsh_completion.install "completions/zsh"
end
test do
system "git", "init", "project"
system "#{bin}/gws", "init"
output = shell_output("#{bin}/gws status")
assert_equal "project:\n Clean [Local only repository]\n", output
end
end