build test files before running tests
parent
6e22a4580e
commit
8f31536700
5
Makefile
5
Makefile
|
@ -34,7 +34,7 @@ clean:
|
||||||
rm -f imposm3
|
rm -f imposm3
|
||||||
(cd test && make clean)
|
(cd test && make clean)
|
||||||
|
|
||||||
test: imposm3
|
test: imposm3 system-test-files
|
||||||
$(GO) test ./... -i
|
$(GO) test ./... -i
|
||||||
$(GO) test ./...
|
$(GO) test ./...
|
||||||
|
|
||||||
|
@ -45,6 +45,9 @@ test-unit: imposm3
|
||||||
test-system: imposm3
|
test-system: imposm3
|
||||||
(cd test && make test)
|
(cd test && make test)
|
||||||
|
|
||||||
|
system-test-files:
|
||||||
|
(cd test && make files)
|
||||||
|
|
||||||
%.pb.go: %.proto
|
%.pb.go: %.proto
|
||||||
protoc --go_out=. $^
|
protoc --go_out=. $^
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue