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/v0.9.0.tar.gz" sha256 "107ab8ed6fa3b4eb9da0f5694e33fca4c727194cf42058829fda9ef20eadf2db" bottle :unneeded def install libexec.install Dir["src/*"] bin.write_exec_script Dir["#{libexec}/git-*"] man1.install Dir["man/man1/*"] end def caveats; <<-EOS.undent To install the Fish shell autocompletions run: `git town install-fish-autocompletion` in your terminal. EOS 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