homebrew-core/Formula/mr.rb

42 lines
2.1 KiB
Ruby

class Mr < Formula
desc "Multiple Repository management tool"
homepage "https://myrepos.branchable.com/"
url "git://myrepos.branchable.com/",
tag: "1.20180726",
revision: "0ad7a17bb455de1fec3b2375c7aac72ab2a22ac4"
license "GPL-2.0"
bottle do
sha256 cellar: :any_skip_relocation, arm64_ventura: "fea4a97b97b7a89c314c1e66244eac2686e20ff15332782ce8ded266ffc6788a"
sha256 cellar: :any_skip_relocation, arm64_monterey: "1ef1fbe930aac818a5996a5280755f746d5595ed94a2d01ffe4c46d0aa066fb2"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "3acd961664e9d84ec19e6fa5044fc7b024bbfc691a3dc3d02a250d773abb6a18"
sha256 cellar: :any_skip_relocation, ventura: "e77aa6bef7c23757654c48d75907eb00b5c5eb7469f96d8b0a59830235f01ffe"
sha256 cellar: :any_skip_relocation, monterey: "a0f6609e5526c820741400527d23e96699e51490ec9b90c2759ddd0565773a58"
sha256 cellar: :any_skip_relocation, big_sur: "9b2f724c76a7b2a2504301eeb2dcd5d16d2b919e53fe7f43b404c79f56ce7c75"
sha256 cellar: :any_skip_relocation, catalina: "90ab23bd6811b507860b5ddcc7e9a181abd3f126fc2ab193739987d6d4b31612"
sha256 cellar: :any_skip_relocation, mojave: "73c8b9b421ea776366f9ded68d90c6c3b75b50401172b5c5248556f6f7f47d6e"
sha256 cellar: :any_skip_relocation, high_sierra: "a41bcee5b050ec9f98cf5960a457421528b05773867d8c8dbb8eb32716e09fd5"
sha256 cellar: :any_skip_relocation, sierra: "bcac4176692f69d47a83cd961cee92e096f6b35f19cb7206973f77b15a1ba71c"
sha256 cellar: :any_skip_relocation, el_capitan: "75fd9c6fbf6dcf833243e4dc9baf0afe81c422e55d3e251f5cfe040b8bc6a254"
sha256 cellar: :any_skip_relocation, x86_64_linux: "fe1931dfcaf7fd8500a523287de75c9a492a187c1b45c51e8a8565f2d52db70d"
end
resource("test-repo") do
url "https://github.com/Homebrew/homebrew-command-not-found.git"
end
def install
system "make"
bin.install "mr", "webcheckout"
man1.install gzip("mr.1", "webcheckout.1")
pkgshare.install Dir["lib/*"]
end
test do
resource("test-repo").stage do
system bin/"mr", "register"
assert_match(/^mr status: #{Dir.pwd}$/, shell_output("#{bin}/mr status"))
end
end
end