homebrew-core/Formula/git-town.rb
ilovezfs ac0592aab4 git-town 2.1.0
Closes #8236.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-12-27 01:28:32 -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/v2.1.0.tar.gz"
sha256 "01c6db9e44c106cf1b7c4d57cc73e69bd9b508fb5cb9cd90024b9a11ae563aeb"
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