homebrew-core/Formula/easy-git.rb

22 lines
507 B
Ruby

class EasyGit < Formula
desc "Wrapper to simplify learning and using git"
homepage "https://people.gnome.org/~newren/eg/"
url "https://people.gnome.org/~newren/eg/download/1.7.5.2/eg"
sha256 "59bb4f8b267261ab3d48c66b957af851d1a61126589173ebcc20ba9f43c382fb"
livecheck do
url "https://people.gnome.org/~newren/eg/download/"
regex(%r{href=.*?(\d+(?:\.\d+)+)/eg["' >]}i)
end
bottle :unneeded
def install
bin.install "eg"
end
test do
system "#{bin}/eg", "help"
end
end