Commit graph

53 commits

Author SHA1 Message Date
Jonathan Schleifer
25b4ca24b8 go: add NetBSD cross-compiler
Closes Homebrew/homebrew#20537.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-18 07:47:45 -07:00
Daisuke Murase
387c45ddc3 go 1.1.1
Closes Homebrew/homebrew#20456.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14 09:21:24 -07:00
Peter Eisentraut
5b6d330e55 go: Correct file name for zsh completions
Previously, the completion file was installed as "_go", which by
convention means that it will be loaded by compinit.  But this file
does not have the #compdef tag, so this doesn't work, and nothing in
the file indicates that it is supposed to be used that way.

Therefore, install the file under the original name "go" to indicate
that you need to load it manually (as the comment in the file
suggests).

Closes Homebrew/homebrew#18752.
2013-06-09 08:33:58 -07:00
Jack Nagel
21c3d0b9a6 go: use test assertion 2013-06-08 21:32:24 -05:00
Jonathon Klobucar
cd09fd396f go 1.1
Removes the now-outdated devel block.

Also require the use of the correct clang compiler
by default. This change was needed when using
--devel and now needed in stable.

A new caveat has also been added explaining how a
$GOPATH must be set and cannot be the same as
$GOROOT From the 1.1 release notes listed below.
http://golang.org/doc/go1.1#gocmd

Closes Homebrew/homebrew#19782.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-05-15 16:28:05 -05:00
Jonathon Klobucar
e8d8b6e324 go --devel 1.1rc3
Closes Homebrew/homebrew#19717.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-10 08:40:11 -07:00
Jonathon Klobucar
6d18e90633 go devel 1.1rc2
Closes Homebrew/homebrew#19648.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-07 07:46:35 -07:00
Adam Vandenberg
3d4f2dc9cd use bash/zsh path helpers 2013-05-03 11:03:42 -07:00
Jonathon Klobucar
cc7d272afb go --devel 1.1rc1
Closes Homebrew/homebrew#19562.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-01 20:18:14 -07:00
Brett Koonce
749e2e3120 go devel 1.1 beta2
Closes Homebrew/homebrew#19053.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-08 15:05:49 -05:00
Jonathon Klobucar
ade93f7332 go --devel 1.1 beta
Closes Homebrew/homebrew#18969.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-04 12:04:56 -07:00
Jack Nagel
4778e0da1b go: fix quoting in test 2013-03-26 00:02:30 -05:00
Jack Nagel
ec11577107 Switch compilers when no build is specified
Given the current state of OS X compilers, the original fails_with
behavior is becoming less useful, mostly resulting in build failures
each time the compiler is updated. So make the following changes:

When a build is specified, we retain the old behavior: switch compilers
if the available compiler is <= the build, don't switch if it is > the
build.

When no build is specified, unconditionally switch compilers, and don't
output the advice message. This allows us to mark formulae as
perpetually failing, avoiding the need to update formulae each time a
new compiler build is made available.

As a bonus, this makes the logic much easier to reason about.

Closes Homebrew/homebrew#18175.
2013-03-12 13:55:15 -05:00
Jacob Appelbaum
7cc93b5667 go: fix --HEAD build and use https for HEAD hg.
Closes Homebrew/homebrew#18030.
Closes Homebrew/homebrew#17913.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-23 08:00:27 +00:00
Joe Shaw
7803dd611d go: host platform must always be the last one built
Each cross-compiler step also rebuilds the host platform.  If
ENABLE_CGO=0 in a later build step, important OS routines (like looking
up x509 certificates in the keychain) are not implemented even for the
host platform.

Closes Homebrew/homebrew#17758.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-11 20:48:23 -08:00
Simon Menke
9509017b48 go: disable the plan9 cross-compiler
Closes Homebrew/homebrew#16242.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-14 12:59:09 -08:00
Jack Nagel
f0f167b266 go: call write on the correct type
Fixes Homebrew/homebrew#16507.
2012-12-10 14:52:42 -06:00
Samuel Cochran
33994375a7 go: Install zsh completions
Closes Homebrew/homebrew#16364.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-12-02 20:25:29 -08:00
Simon Menke
4419d34488 go: allow building the cross-compilers
When the `--cross-compile` option is used the following runtimes will be build:

- darwin  (386, amd64; with CGO)
- linux   (386, amd64, arm)
- freebsd (386, amd64)
- openbsd (386, amd64)
- plan9   (386)
- windows (386, amd64)

Closes Homebrew/homebrew#12547.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-25 08:04:50 -08:00
Timothée Peignier
1322b0f8a6 go 1.0.3
Closes Homebrew/homebrew#15086.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-24 12:30:41 -07:00
Adam Vandenberg
4b81f101eb go: use new dsl 2012-09-03 12:31:06 -07:00
tamird
f68febbef4 go: install bash completion
Closes Homebrew/homebrew#14287.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-22 20:56:01 -07:00
Ealden Esto E. Escanan
ac773aef78 Go 1.0.2
Signed-off-by: Ealden Esto E. Escanan <ealden@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-14 21:35:18 -07:00
Jack Nagel
a0816029fe go: don't install conflicting header files
Closes Homebrew/homebrew#12457.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-29 14:08:46 -05:00
Jack Nagel
4fc9fb0a59 go: use prefix instead of Pathname.pwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-08 01:15:12 -05:00
Pascal Bertrand
604a50d27d go 1.0.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-28 09:32:43 -07:00
Adam Vandenberg
123d844f75 Go: remove unofficial Git mirror 2012-04-16 19:10:52 -07:00
Pascal Bertrand
985d8e8f8f go 1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-01 13:35:26 -07:00
Bart Leusink
8f0d70cf65 go: fix-up HEAD install 2012-02-25 22:52:57 -08:00
Adam Vandenberg
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Alexey Palazhchenko
b1bb1ff744 go: Update to r60.3
Closes Homebrew/homebrew#8567.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-13 12:54:18 -08:00
Travis Cline
2192cd6a28 go: Update to r60.1
Closes Homebrew/homebrew#7513.
Closes Homebrew/homebrew#7731.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-20 22:19:51 -07:00
Steven Degutis
6c4ebff746 go: fix tag for --use-git
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-13 09:46:59 -07:00
José Martínez
e1f7c8bc89 Go r59
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-07 10:17:09 -07:00
Gabriele Carrettoni
41272de10e go r58.1
Fixes compilation on Lion.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-21 08:20:55 -07:00
José Martínez
bdb79fc2cf go: use stable release and fix build
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-16 08:24:28 -07:00
Chris Schepman
9f5eb9f047 go: install AUTHORS to prevent test failure
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-05-06 11:08:02 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
11f160f4fb go - autodetects build environment now 2011-02-21 22:05:21 -08:00
Adam Vandenberg
cffac08568 Fix go caveats 2010-11-21 15:59:54 -08:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg
c72229cf7d go - fix audit and github tag 2010-10-24 13:21:57 -07:00
Drew Hess
187b052865 go: added --use-git-head option to formula.
Uses http://github.com/tav/go.git git mirror of official Mercurial
repository to obviate the need for installing Mercurial.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-23 11:24:31 -07:00
Augie Fackler
061f394d73 Go: include templates for godoc.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

 * Also clean up a bit.
2010-10-20 21:10:51 -07:00
Adam Vandenberg
72e19eb542 Don't need +x on these 2010-08-13 16:00:17 -07:00
Max Howell
1f7bc468bd Use new symlink aliases 2010-08-07 18:08:50 -07:00
Adam Vandenberg
d8571bef03 Go - keep make files and export GOBIN 2010-05-20 20:06:46 -07:00
Adam Vandenberg
161a5a139d Remove explicit download strategy from Go. 2010-03-17 20:05:05 -07:00
Adam Vandenberg
7ad056b4fa Go - use --cellar 2010-02-18 13:35:01 -08:00
Max Howell
4b5e064d94 Go won't install with multiple make jobs
Fixes Homebrew/homebrew#237.
2009-12-21 18:00:18 +00:00