mirror of https://github.com/perkeep/perkeep.git
Add ./dev/... to multiple build targets.
Adds ./dev/... to forcefull, full, & presubmit. Change-Id: I64d947b92dcda09ceb6bd2c536f1b698e2367cc0
This commit is contained in:
parent
1decd09846
commit
53397ce117
6
Makefile
6
Makefile
|
@ -7,17 +7,17 @@ all:
|
||||||
|
|
||||||
# On OS X with "brew install sqlite3", you need PKG_CONFIG_PATH=/usr/local/Cellar/sqlite/3.7.17/lib/pkgconfig/
|
# On OS X with "brew install sqlite3", you need PKG_CONFIG_PATH=/usr/local/Cellar/sqlite/3.7.17/lib/pkgconfig/
|
||||||
full:
|
full:
|
||||||
go install --ldflags="-X camlistore.org/pkg/buildinfo.GitInfo "`./misc/gitversion` `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` ./pkg/... ./server/... ./cmd/... ./third_party/...
|
go install --ldflags="-X camlistore.org/pkg/buildinfo.GitInfo "`./misc/gitversion` `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` ./pkg/... ./server/... ./cmd/... ./third_party/... ./dev/...
|
||||||
|
|
||||||
|
|
||||||
# Workaround Go bug where the $GOPATH/pkg cache doesn't know about tag changes.
|
# 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.
|
# Useful when you accidentally run "make" and then "make presubmit" doesn't work.
|
||||||
# See https://code.google.com/p/go/issues/detail?id=4443
|
# See https://code.google.com/p/go/issues/detail?id=4443
|
||||||
forcefull:
|
forcefull:
|
||||||
go install -a --tags=with_sqlite ./pkg/... ./server/... ./cmd/... ./third_party/...
|
go install -a --tags=with_sqlite ./pkg/... ./server/... ./cmd/... ./third_party/... ./dev/...
|
||||||
|
|
||||||
presubmit:
|
presubmit:
|
||||||
SKIP_DEP_TESTS=1 go test `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` -short ./pkg/... ./server/camlistored ./server/appengine ./cmd/... && echo PASS
|
SKIP_DEP_TESTS=1 go test `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` -short ./pkg/... ./server/camlistored ./server/appengine ./cmd/... ./dev/... && echo PASS
|
||||||
|
|
||||||
embeds:
|
embeds:
|
||||||
go install ./pkg/fileembed/genfileembed/ && genfileembed ./server/camlistored/ui && genfileembed ./pkg/server
|
go install ./pkg/fileembed/genfileembed/ && genfileembed ./server/camlistored/ui && genfileembed ./pkg/server
|
||||||
|
|
Loading…
Reference in New Issue