File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Package configuration
2
2
PROJECT = gitbase
3
3
COMMANDS = cmd/gitbase
4
- GO_BUILD_ARGS += -tags mysql_go_regex
5
4
6
5
# Including ci Makefile
7
6
CI_REPOSITORY ?= https://github.com/src-d/ci.git
@@ -17,6 +16,8 @@ $(MAKEFILE):
17
16
18
17
-include $(MAKEFILE )
19
18
19
+ GO_BUILD_ARGS += -tags mysql_go_regex
20
+
20
21
upgrade :
21
22
go run tools/rev-upgrade/main.go -p $(UPGRADE_PRJ ) -r $(UPGRADE_REV )
22
23
@@ -33,10 +34,9 @@ static-package:
33
34
# target used in the Dockerfile to build the static binary
34
35
static-build : VERSION ?= $(shell git describe --exact-match --tags 2>/dev/null || "dev-$(git rev-parse --short HEAD )$(test -n "`git status --porcelain`" && echo "-dirty" || true ) ")
35
36
static-build : LD_FLAGS += -linkmode external -extldflags '-static -lz' -s -w
36
- static-build : GO_BUILD_ARGS += -tags mysql_go_regex
37
37
static-build : GO_BUILD_PATH ?= github.com/src-d/gitbase/...
38
38
static-build :
39
- go build -ldflags=" $( LD_FLAGS) " -v $( GO_BUILD_ARGS ) $(GO_BUILD_PATH )
39
+ go build -ldflags=" $( LD_FLAGS) " -v -tags mysql_go_regex $(GO_BUILD_PATH )
40
40
41
41
ci-e2e : packages
42
42
go test ./e2e -gitbase-version=" $( TRAVIS_TAG) " \
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func TestMain(m *testing.M) {
37
37
38
38
path , err := exec .LookPath (* bin )
39
39
if err != nil {
40
- fmt .Println ("gitbase-bin not provided" )
40
+ fmt .Println ("gitbase-bin not provided:" , err )
41
41
if * mustRun {
42
42
os .Exit (1 )
43
43
} else {
You can’t perform that action at this time.
0 commit comments