diff --git a/updateTestingEnv.sh b/updateTestingEnv.sh new file mode 100755 index 0000000..00f7e10 --- /dev/null +++ b/updateTestingEnv.sh @@ -0,0 +1,17 @@ +exitIfNeeded () { + if [ $? -ne 0 ] + then + exit 1 + fi +} + +prefix=`(cd ../ && ./utils/project-prefix)` +(cd ../ && ./gradlew :$prefix-mysql-plugin:clean < /dev/null) + +exitIfNeeded + +(cd ../ && ./gradlew :$prefix-mysql-plugin:build -x test < /dev/null) + +exitIfNeeded + +cp ./build/libs/* ../plugin