mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
Simplify test formula setup
This commit is contained in:
1 parent
00a175f5e9
commit
da2e75253d
1 file changed
+2
-3
@@ -4,9 +4,8 @@ class TestBall < Formula
|
||||
def initialize(name="test_ball")
|
||||
@homepage = 'http://example.com/'
|
||||
self.class.instance_eval do
|
||||
@stable ||= SoftwareSpec.new
|
||||
@stable.url "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz"
|
||||
@stable.sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5"
|
||||
stable.url "file:///#{TEST_FOLDER}/tarballs/testball-0.1.tbz"
|
||||
stable.sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5"
|
||||
end
|
||||
super
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user