19 lines
477 B
Ruby
19 lines
477 B
Ruby
class BrewGem < Formula
|
|
desc "Install RubyGems as Homebrew formulae"
|
|
homepage "https://github.com/sportngin/brew-gem"
|
|
url "https://github.com/sportngin/brew-gem/archive/v0.8.3.tar.gz"
|
|
sha256 "f917a1462930976a392ba5365fe3633182798b92ed5bbc5849c36e0d5de37bbc"
|
|
|
|
head "https://github.com/sportngin/brew-gem.git"
|
|
|
|
bottle :unneeded
|
|
|
|
def install
|
|
lib.install Dir["lib/*"]
|
|
bin.install "bin/brew-gem"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/brew-gem", "help"
|
|
end
|
|
end
|