CTR: Minor change in the doc generation process. In case of an error, we'll now
see the last 10 lines first and after a short 5 second break the errornous
file will be opened for full inspection. This should make it much easier to
identify errors that are not obvious in the output of the last 10 lines.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/aaf51464
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/aaf51464
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/aaf51464
Branch: refs/heads/TINKERPOP-1854
Commit: aaf51464d91e481f9bd943e9d21303122f8ca981
Parents: 8ef717f
Author: Daniel Kuppitz <[email protected]>
Authored: Thu Mar 1 09:15:48 2018 -0700
Committer: Daniel Kuppitz <[email protected]>
Committed: Thu Mar 1 09:15:48 2018 -0700
----------------------------------------------------------------------
docs/preprocessor/preprocess-file.sh | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/aaf51464/docs/preprocessor/preprocess-file.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess-file.sh
b/docs/preprocessor/preprocess-file.sh
index 0ca534a..d5076f1 100755
--- a/docs/preprocessor/preprocess-file.sh
+++ b/docs/preprocessor/preprocess-file.sh
@@ -76,6 +76,9 @@ function cleanup {
echo -e "\n\e[1mLast 10 lines of ${output}:\e[0m\n"
tail -n10 ${output}
echo
+ echo "Opening ${output} for full inspection"
+ sleep 5
+ less ${output}
fi
fi
rm -rf ${output} ${CONSOLE_HOME}/.ext