perkeep/Makefile

15 lines
771 B
Makefile
Raw Normal View History

2011-02-04 01:32:34 +00:00
all:
go install `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo -n "--tags=with_sqlite"` ./pkg/... ./server/... ./cmd/... ./third_party/...
2011-02-04 01:32:34 +00:00
# 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/...
2011-03-05 21:44:19 +00:00
presubmit:
SKIP_DEP_TESTS=1 go test `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo -n "--tags=with_sqlite"` -short ./pkg/... ./server/camlistored ./cmd/... && echo PASS
2011-03-05 21:44:19 +00:00
2012-02-28 03:51:34 +00:00
embeds:
go install ./pkg/fileembed/genfileembed/ && genfileembed ./server/camlistored/ui && genfileembed ./pkg/server