build test files before running tests

master
Oliver Tonnhofer 2016-01-15 16:21:44 +01:00
parent 6e22a4580e
commit 8f31536700
1 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,7 @@ clean:
rm -f imposm3
(cd test && make clean)
test: imposm3
test: imposm3 system-test-files
$(GO) test ./... -i
$(GO) test ./...
@ -45,6 +45,9 @@ test-unit: imposm3
test-system: imposm3
(cd test && make test)
system-test-files:
(cd test && make files)
%.pb.go: %.proto
protoc --go_out=. $^