Makefile: add 'forcefull' workaround

Change-Id: Ifaf40794e84e0fef5697fb54332826680c442a37
This commit is contained in:
Brad Fitzpatrick 2013-01-20 13:35:37 -08:00
parent 0d33507ab6
commit b81b2fa98f
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@ all:
full: full:
go install --tags=with_sqlite ./pkg/... ./server/... ./cmd/... ./third_party/... go install --tags=with_sqlite ./pkg/... ./server/... ./cmd/... ./third_party/...
# Workaround Go bug where the $GOPATH/pkg cache doesn't know about tag changes.
# Useful when you accidentally run "make" and then "make presubmit" doesn't work.
# See https://code.google.com/p/go/issues/detail?id=4443
forcefull:
go install -a --tags=with_sqlite ./pkg/... ./server/... ./cmd/... ./third_party/...
presubmitlite: presubmitlite:
SKIP_DEP_TESTS=1 go test -short ./pkg/... ./server/camlistored ./cmd/... && echo PASS SKIP_DEP_TESTS=1 go test -short ./pkg/... ./server/camlistored ./cmd/... && echo PASS