class Repo < Formula desc "Repository tool for Android development" homepage "https://source.android.com/source/developing.html" url "https://gerrit.googlesource.com/git-repo.git", :tag => "v1.13.7", :revision => "e778e57f11f208bd70c51d9cc57090a5cf9e41fa" version_scheme 1 bottle :unneeded def install bin.install "repo" doc.install (buildpath/"docs").children end test do assert_match "usage:", shell_output("#{bin}/repo help 2>&1") end end