srclib-bash is a srclib toolchain that performs Bash (and POSIX Shell) code analysis: linking command names to man pages.
It enables this functionality in any client application whose code analysis is powered by srclib, including Sourcegraph.com.
This toolchain is not a standalone program; it provides additional functionality to applications that use srclib.
First,
install the srclib
program (see srclib installation instructions).
Then run:
# download and fetch dependencies
go get -v sourcegraph.com/sourcegraph/srclib-bash
cd $GOPATH/src/sourcegraph.com/sourcegraph/srclib-bash
# build the srclib-bash program in .bin/srclib-bash (this is currently required by srclib to discover the program)
make
# link this toolchain in your SRCLIBPATH (default ~/.srclib) to enable it
To verify that installation succeeded, run:
srclib toolchain list
You should see this srclib-bash toolchain in the list.
Now that this toolchain is installed, any program that relies on srclib will support Bash.
srclib-bash is alpha-quality software. It powers code analysis on Sourcegraph.com but has not been widely tested or adapted for other use cases.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。