From d16c600763a247e040ab91978ee9108d8603f0b7 Mon Sep 17 00:00:00 2001 From: Alain Jobart Date: Wed, 18 Jun 2014 11:33:29 -0700 Subject: [PATCH] Adding some java-specific rules. --- .gitignore | 5 +++++ Makefile | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index 368eaacd89c..fff60c139df 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,8 @@ tags # mysql build dirs third_party/mysql + +# java target files +java/vtocc-client/target +java/vtocc-jdbc-driver/target +third_party/acolyte diff --git a/Makefile b/Makefile index d061295fe85..155fbb707ef 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ test: unit_test queryservice_test integration_test clean: go clean -i ./go/... + rm -rf java/vtocc-client/target java/vtocc-jdbc-driver/target third_party/acolyte unit_test: go test ./go/... @@ -72,6 +73,10 @@ integration_test: echo ; \ done +# this rule only works if bootstrap.sh was successfully ran in ./java +java_test: + cd java && mvn verify + bson: bsongen -file ./go/mysql/proto/structs.go -type QueryResult -o ./go/mysql/proto/query_result_bson.go bsongen -file ./go/mysql/proto/structs.go -type Field -o ./go/mysql/proto/field_bson.go