go/src/cmd/goinstall
Russ Cox b5777571b3 go/build: add BuildTags to Context, allow !tag
This lets the client of go/build specify additional tags that
can be recognized in a // +build directive.  For example,
a build for a custom environment like App Engine might
include "appengine" in the BuildTags list, so that packages
can be written with some files saying

        // +build appengine   (build only on app engine)

or

        // +build !appengine  (build only when NOT on app engine)

App Engine here is just a hypothetical context.  I plan to use
this in the cmd/go sources to distinguish the bootstrap version
of cmd/go (which will not use networking) from the full version
using a custom tag.  It might also be useful in App Engine.

Also, delete Build and Script, which we did not end up using for
cmd/go and which never got turned on for real in goinstall.

R=r, adg
CC=golang-dev
https://golang.org/cl/5554079
2012-01-23 15:16:38 -05:00
..
Makefile goinstall: select the tag that is closest to runtime.Version 2011-08-30 09:37:22 +10:00
doc.go goinstall: support googlecode subrepos and add repo match tests 2011-11-22 07:10:25 +11:00
download.go goinstall: use correct checkout URL for Google Code svn repos 2012-01-06 09:20:59 +11:00
download_test.go goinstall: fix test data 2012-01-06 09:48:03 +11:00
main.go go/build: add BuildTags to Context, allow !tag 2012-01-23 15:16:38 -05:00
make.go goinstall: honour -install=false flag when -make=true 2011-12-07 09:41:20 +11:00
tag_test.go goinstall: select the tag that is closest to runtime.Version 2011-08-30 09:37:22 +10:00