vimUtils.buildVimPlugin: write vim errors to stderr
Previously vim would silently fail when help tags couldn't be generated. We need to pass the "verbose" flag (with verbose level 1) to convince vim to print errors to standard error.
This commit is contained in:
@@ -37,7 +37,7 @@ rec {
|
||||
# build help tags
|
||||
if [ -d "$target/doc" ]; then
|
||||
echo "Building help tags"
|
||||
if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -c "helptags $target/doc" +quit!; then
|
||||
if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -V1 -c "helptags $target/doc" +quit!; then
|
||||
echo "Failed to build help tags!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user