From 12ed0a95433e13bf039abacc0317ffc299d3ddcb Mon Sep 17 00:00:00 2001 From: Radek Szymczyszyn Date: Fri, 9 Mar 2018 18:32:43 +0100 Subject: Install docsh 0.5.0 Major docsh changes since 0.4.0: - Support Erlang 20 "Dbgi" chunk (01661fa) - Guess source file location even if src/ has a hierarchical structure (b442346) - Fix inconsistent lookup times (7149177) - Expand shell helper documentation (ab3e143) - Clean up remaining compiler / Dialyzer warnings (60a202f) - Apply gomoripeti's fix for proplists' doc retrieval (5407e56) - Describe manual docsh setup (ecf3582) --- README.md | 2 +- kerl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7148a61..5db2901 100644 --- a/README.md +++ b/README.md @@ -621,7 +621,7 @@ other tools to extract to path information. kerl install-docsh -**Important note**: docsh currently only supports OTP 18 and 19. +**Important note**: docsh only supports OTP versions 18 and later. Install `erl` shell documentation access extension - [docsh](https://github.com/erszcz/docsh). diff --git a/kerl b/kerl index b669426..e852652 100755 --- a/kerl +++ b/kerl @@ -1156,12 +1156,12 @@ install_docsh() { GIT=$(echo -n $REPO_URL | $MD5SUM | cut -d ' ' -f $MD5SUM_FIELD) BUILDNAME=$1 DOCSH_DIR="$KERL_BUILD_DIR/$BUILDNAME/docsh" - DOCSH_REF="0.4.0" + DOCSH_REF="0.5.0" ACTIVE_PATH=$2 OTP_VERSION=$(get_otp_version $1) # This has to be updated with docsh updates - DOCSH_SUPPORTED="^1[89]$" + DOCSH_SUPPORTED="^1[89]\|20$" echo $OTP_VERSION | grep "$DOCSH_SUPPORTED" > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "Erlang/OTP version $OTP_VERSION not supported by docsh (does not match regex $DOCSH_SUPPORTED)" -- cgit v1.2.3