18 lines
431 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Testball < Formula
def initialize(name = "testball", path = Pathname.new(__FILE__).expand_path, spec = :stable, alias_path: nil)
2013-04-08 17:43:01 -05:00
self.class.instance_eval do
stable.url "file://#{TEST_FIXTURE_DIR}/tarballs/testball-0.1.tbz"
2016-01-17 17:01:19 -08:00
stable.sha256 TESTBALL_SHA256
2013-04-08 17:43:01 -05:00
end
super
end
def install
prefix.install "bin"
prefix.install "libexec"
Dir.chdir "doc"
end
end