diff options
| author | Timothée Peignier | 2014-11-13 17:54:12 -0800 |
|---|---|---|
| committer | Jack Nagel | 2014-11-13 22:54:45 -0600 |
| commit | 59dbcc62f2c4c855bf5e3b4ba1735e5bd0573df3 (patch) | |
| tree | ac103a7c9a179e94fbdf3acd4dcce509f9dd36af /Library/Formula/go.rb | |
| parent | 9f0d01767e6db655898ce15276695f0d6ac5e169 (diff) | |
| download | homebrew-59dbcc62f2c4c855bf5e3b4ba1735e5bd0573df3.tar.bz2 | |
go devel 1.4beta1
Closes #34171.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/go.rb')
| -rw-r--r-- | Library/Formula/go.rb | 14 |
1 files changed, 11 insertions, 3 deletions
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' |
