ant-bridge dist -> verify, test.compile -> test-compile
Added a utility script for running a single test, usually in parallel.
This commit is contained in:
parent
9ca3004fc3
commit
20b471ef7b
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
mvn_args="test-compile"
|
mvn_args="verify"
|
||||||
mvn_properties=
|
mvn_properties=
|
||||||
mvn_clean=
|
mvn_clean=
|
||||||
unknown_args=
|
unknown_args=
|
||||||
|
|
@ -39,11 +39,14 @@ for arg in "${@}" ; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
if [ "${arg}" != "dist" -a "${mvn_args}" != "test-compile" ]; then
|
if [ "${arg}" != "dist" -a "${mvn_args}" != "" ]; then
|
||||||
echo "Sorry, this script does not currently support mixing targets." >&2
|
echo "Sorry, this script does not currently support mixing targets." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
elif [ "${arg}" = "dist" ] ; then
|
elif [ "${arg}" = "dist" ] ; then
|
||||||
|
mvn_args="verify"
|
||||||
|
|
||||||
|
elif [ "${arg}" = "test.compile" ] ; then
|
||||||
mvn_args="test-compile"
|
mvn_args="test-compile"
|
||||||
|
|
||||||
elif [ "${arg}" = "gatkdocs" ] ; then
|
elif [ "${arg}" = "gatkdocs" ] ; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue