homebrew-core/Formula/git-town.rb
2017-02-07 23:11:54 -08:00

23 lines
609 B
Ruby

class GitTown < Formula
desc "High-level command-line interface for Git"
homepage "http://www.git-town.com"
url "https://github.com/Originate/git-town/archive/v3.0.0.tar.gz"
sha256 "a63588e093228c9bb018ce537a3e454faa26c06411eb006d7c82e1efd0ed7b80"
bottle :unneeded
def install
libexec.install Dir["src/*"]
bin.write_exec_script Dir["#{libexec}/git-*"]
man1.install Dir["man/man1/*"]
end
test do
system "git", "init"
touch "testing.txt"
system "git", "add", "testing.txt"
system "git", "commit", "-m", "Testing!"
system "#{bin}/git-town", "config"
end
end