Rename import paths from camlistore.org to perkeep.org.
Part of the project renaming, issue #981.
After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.
This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.
Also, this only moves the lru package to internal. More will move to
internal later.
Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.
This updates some docs, but not all.
devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).
Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
2018-01-01 22:41:41 +00:00
|
|
|
# The normal way to build Perkeep is just "go run make.go", which
|
2013-06-22 06:07:14 +00:00
|
|
|
# works everywhere, even on systems without Make. The rest of this
|
|
|
|
# Makefile is mostly historical and should hopefully disappear over
|
|
|
|
# time.
|
2011-02-04 01:32:34 +00:00
|
|
|
all:
|
2013-06-22 06:07:14 +00:00
|
|
|
go run make.go
|
|
|
|
|
|
|
|
# On OS X with "brew install sqlite3", you need PKG_CONFIG_PATH=/usr/local/Cellar/sqlite/3.7.17/lib/pkgconfig/
|
|
|
|
full:
|
Rename import paths from camlistore.org to perkeep.org.
Part of the project renaming, issue #981.
After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.
This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.
Also, this only moves the lru package to internal. More will move to
internal later.
Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.
This updates some docs, but not all.
devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).
Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
2018-01-01 22:41:41 +00:00
|
|
|
go install --ldflags="-X perkeep.org/pkg/buildinfo.GitInfo "`./misc/gitversion` `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` ./pkg/... ./server/... ./cmd/... ./dev/...
|
2011-02-04 01:32:34 +00:00
|
|
|
|
2013-06-10 22:55:17 +00:00
|
|
|
|
2013-01-20 21:35:37 +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:
|
2018-04-21 18:04:53 +00:00
|
|
|
go install -a --tags=with_sqlite ./pkg/... ./server/perkeepd ./cmd/... ./dev/...
|
2013-01-20 21:35:37 +00:00
|
|
|
|
2014-07-10 05:00:52 +00:00
|
|
|
oldpresubmit: fmt
|
2018-04-21 18:04:53 +00:00
|
|
|
SKIP_DEP_TESTS=1 go test `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` -short ./pkg/... ./server/perkeepd/... ./cmd/... ./dev/... && echo PASS
|
2011-03-05 21:44:19 +00:00
|
|
|
|
2014-07-10 05:00:52 +00:00
|
|
|
presubmit: fmt
|
|
|
|
go run dev/devcam/*.go test -short
|
|
|
|
|
2012-02-28 03:51:34 +00:00
|
|
|
embeds:
|
2018-04-21 18:04:53 +00:00
|
|
|
go install ./pkg/fileembed/genfileembed/ && genfileembed ./server/perkeepd/ui && genfileembed ./pkg/server
|
2013-01-25 23:13:30 +00:00
|
|
|
|
2018-04-21 18:04:53 +00:00
|
|
|
UIDIR = server/perkeepd/ui
|
2013-02-11 01:11:50 +00:00
|
|
|
|
2018-04-21 18:04:53 +00:00
|
|
|
NEWUIDIR = server/perkeepd/newui
|
2013-01-29 15:41:02 +00:00
|
|
|
|
2013-02-11 04:06:42 +00:00
|
|
|
clean:
|
|
|
|
rm -f $(NEWUIDIR)/all.js $(NEWUIDIR)/all.js.map
|
|
|
|
|
2014-03-20 18:57:29 +00:00
|
|
|
fmt:
|
Rename import paths from camlistore.org to perkeep.org.
Part of the project renaming, issue #981.
After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.
This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.
Also, this only moves the lru package to internal. More will move to
internal later.
Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.
This updates some docs, but not all.
devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).
Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
2018-01-01 22:41:41 +00:00
|
|
|
go fmt perkeep.org/cmd... perkeep.org/dev... perkeep.org/misc... perkeep.org/pkg... perkeep.org/server...
|