build: do not rebuild protobuf files by default to avoid rebuild after git clone
parent
0ca34413d6
commit
a4ec5ffea1
4
Makefile
4
Makefile
|
@ -29,7 +29,7 @@ VERSION_LDFLAGS=-X github.com/omniscale/imposm3.Version=$(BUILD_VERSION)
|
|||
|
||||
all: build test
|
||||
|
||||
imposm: $(PBGOFILES) $(GOFILES)
|
||||
imposm: $(GOFILES)
|
||||
$(GO) build $(GOTAGS) $(GOLDFLAGS) ./cmd/imposm
|
||||
|
||||
build: imposm
|
||||
|
@ -52,6 +52,8 @@ test-system: imposm
|
|||
system-test-files:
|
||||
(cd test && make files)
|
||||
|
||||
regen-protobuf: $(PBGOFILES)
|
||||
|
||||
%.pb.go: %.proto
|
||||
protoc --proto_path=$(GOPATH)/src:$(GOPATH)/src/github.com/omniscale/imposm3/vendor/github.com/gogo/protobuf/protobuf:. --gogofaster_out=. $^
|
||||
|
||||
|
|
Loading…
Reference in New Issue