go: use new dsl

This commit is contained in:
Adam Vandenberg 2012-09-03 12:31:06 -07:00
parent c2da056aa6
commit 4b81f101eb

View file

@ -19,7 +19,7 @@ class Go < Formula
cd prefix do
# The version check is due to:
# http://codereview.appspot.com/5654068
(prefix/'VERSION').write 'default' if ARGV.build_head?
(prefix/'VERSION').write 'default' if build.head?
# Build only. Run `brew test go` to run distrib's tests.
cd 'src' do