homebrew-core/Formula/gws.rb
Frode Aannevik f17d48b16c gws 0.1.7 (new formula)
Closes Homebrew/homebrew#38007.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-28 21:43:09 +01:00

23 lines
673 B
Ruby

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