From b81b2fa98ff22eb060e3a1962a15a42aa7c31fa9 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sun, 20 Jan 2013 13:35:37 -0800 Subject: [PATCH] Makefile: add 'forcefull' workaround Change-Id: Ifaf40794e84e0fef5697fb54332826680c442a37 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 885933e6e..c149419c4 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,12 @@ all: full: 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: SKIP_DEP_TESTS=1 go test -short ./pkg/... ./server/camlistored ./cmd/... && echo PASS