mirror of https://github.com/perkeep/perkeep.git
Makefile: Mac's shell built-in echo doesn't have -n; was being passed to go
Change-Id: I792758750333c51068b91518564c8650fb8fc8e3
This commit is contained in:
parent
0490df5b2a
commit
108a72f458
4
Makefile
4
Makefile
|
@ -1,5 +1,5 @@
|
||||||
all:
|
all:
|
||||||
go install `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo -n "--tags=with_sqlite"` ./pkg/... ./server/... ./cmd/... ./third_party/...
|
go install `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` ./pkg/... ./server/... ./cmd/... ./third_party/...
|
||||||
|
|
||||||
# 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.
|
||||||
|
@ -8,7 +8,7 @@ forcefull:
|
||||||
go install -a --tags=with_sqlite ./pkg/... ./server/... ./cmd/... ./third_party/...
|
go install -a --tags=with_sqlite ./pkg/... ./server/... ./cmd/... ./third_party/...
|
||||||
|
|
||||||
presubmit:
|
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
|
SKIP_DEP_TESTS=1 go test `pkg-config --libs sqlite3 1>/dev/null 2>/dev/null && echo "--tags=with_sqlite"` -short ./pkg/... ./server/camlistored ./cmd/... && 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