You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2016/06/20 20:37:43 UTC
[12/20] tinkerpop git commit: Fixed path to log file for
`bin/validate-distribution.sh` and log only errors in `mvn clean install`.
Fixed path to log file for `bin/validate-distribution.sh` and log only errors in `mvn clean install`.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/ce0dc48b
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/ce0dc48b
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/ce0dc48b
Branch: refs/heads/TINKERPOP-1278
Commit: ce0dc48b5f46ce0fa7f106d4619070a339bb9964
Parents: 6edca75
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Thu Jun 16 21:41:06 2016 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Thu Jun 16 21:41:06 2016 +0200
----------------------------------------------------------------------
bin/validate-distribution.sh | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/ce0dc48b/bin/validate-distribution.sh
----------------------------------------------------------------------
diff --git a/bin/validate-distribution.sh b/bin/validate-distribution.sh
index a6fb927..eea1ba1 100755
--- a/bin/validate-distribution.sh
+++ b/bin/validate-distribution.sh
@@ -114,15 +114,13 @@ echo "OK"
if [ "${TYPE}" = "SOURCE" ]; then
cd ${DIR_NAME}
-LOG_DIR="${DIR_NAME}/target/validate-distribution"
-LOG_FILE="mvn-clean-install.log"
echo -n "* building project ... "
-mkdir -p ${LOG_DIR}
-mvn clean install 2>&1 > "${LOG_DIR}/${LOG_FILE}" || {
+LOG_FILE="mvn-clean-install.log"
+mvn clean install -q 2>&1 > "${LOG_FILE}" || {
echo "failed"
echo
- tail -n100 target/validate-distribution/mvn-clean-install.log
- echo -e "\n\e[1mThe full log file can be inspected under ${LOG_DIR}/${LOG_FILE}.\e[0m\n"
+ tail -n50 "${LOG_FILE}"
+ echo -e "\n\e[1mThe full log file can be inspected under `pwd`/${LOG_FILE}.\e[0m\n"
exit 1
}
echo "OK"