perkeep/dev
mpl d953dee008 devcam test: do not "recurse" temp GOPATH, docs, couple more options.
Problem: make.go creates an isolated temp gopath ./tmp/build-gopath. The
integration tests make use of that gopath (by running make.go) to build
the tools, and run the test world in it. Similarly, devcam test uses
make.go to setup that temp gopath, and runs the tests from the source
files in that gopath. Consequently, when the integration tests are run
through devcam test, even though they're run from the temp gopath, they
would use the make.go in it, which would create a nested temp gopath
(CAMLIROOT/tmp/build-gopath/src/camlistore.org/tmp/build-gopath) in
which to run the tests.

This patch addresses this issue by creating a new flag (-envGoPath), and
the corresponding env var (CAMLI_MAKE_USEGOPATH), which tells make.go
not to create a new temporary gopath (and hence not to mirror any
files), and to rely on the already set GOPATH env var instead.

Also refactored make.go a bit, and added a couple options and doc to
devcam test.

Change-Id: Ia8a5d7a31e6e317f05218d9e18fb886001cd19cb
2014-08-08 22:02:57 +02:00
..
config-dir-local dev: add local.sh script to setup demo environment 2014-01-31 12:24:30 +01:00
devcam devcam test: do not "recurse" temp GOPATH, docs, couple more options. 2014-08-08 22:02:57 +02:00
envvardoc Document environment variables usage. 2013-09-06 21:54:03 -07:00
camfix.pl Add a BUILDING file, update HACKING, clean some stuff 2013-06-11 13:14:05 +02:00
demo.sh Better demo setup 2014-06-02 15:55:10 +09:00
dev-db Move dev-db shell script out of the root. 2014-02-27 21:26:02 -08:00
local.sh dev: add local.sh script to setup demo environment 2014-01-31 12:24:30 +01:00
make-release make-release: don't clean stuff from the zip 2014-02-27 22:03:52 -08:00
push Add dev/push script. 2013-08-23 00:13:09 -05:00
update_closure_compiler.go dev-server: use updatelibrary.go to update closure lib 2013-07-23 16:19:46 +02:00