65463aac8c
bump `version_scheme` so that the tag and version can be the same again install manifest-format.txt in `doc` add a test Closes #4222. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
19 lines
491 B
Ruby
19 lines
491 B
Ruby
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.12.34",
|
|
:revision => "39252ba028012fd14e4e283217d842fb80206c52"
|
|
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", 1)
|
|
end
|
|
end
|