21 lines
510 B
Ruby
21 lines
510 B
Ruby
class Repo < Formula
|
|
desc "Repository tool for Android development"
|
|
homepage "https://source.android.com/source/developing.html"
|
|
url "https://github.com/GerritCodeReview/git-repo.git",
|
|
tag: "v2.9",
|
|
revision: "4b325813fc0ba3f6525a9bacb4daf78fccccc3f6"
|
|
license "Apache-2.0"
|
|
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
|