From 59dbcc62f2c4c855bf5e3b4ba1735e5bd0573df3 Mon Sep 17 00:00:00 2001 From: Timothée Peignier Date: Thu, 13 Nov 2014 17:54:12 -0800 Subject: go devel 1.4beta1 Closes #34171. Signed-off-by: Jack Nagel --- Library/Formula/go.rb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb index 97fc3c3c0..ac85b2a6e 100644 --- a/Library/Formula/go.rb +++ b/Library/Formula/go.rb @@ -14,14 +14,22 @@ class Go < Formula sha1 "2aa465d9fb98833b80d8f2801153592c1d52bd1a" => :lion end + devel do + url 'https://storage.googleapis.com/golang/go1.4beta1.src.tar.gz' + version '1.4beta1' + sha1 'f2fece0c9f9cdc6e8a85ab56b7f1ffcb57c3e7cd' + end + option 'cross-compile-all', "Build the cross-compilers and runtime support for all supported platforms" option 'cross-compile-common', "Build the cross-compilers and runtime support for darwin, linux and windows" option 'without-cgo', "Build without cgo" def install - # install the completion scripts - bash_completion.install 'misc/bash/go' => 'go-completion.bash' - zsh_completion.install 'misc/zsh/go' => '_go' + unless build.devel? + # install the completion scripts + bash_completion.install 'misc/bash/go' => 'go-completion.bash' + zsh_completion.install 'misc/zsh/go' => '_go' + end # host platform (darwin) must come last in the targets list if build.include? 'cross-compile-all' -- cgit v1.2.3