homebrew-core/Formula/git-town.rb
2017-03-28 09:40:28 +02: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.1.0.tar.gz"
sha256 "3a7227e99a1d5824d191769866c28a8d4fc6b4b0ac4cef278fc5cf9c1f033327"
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