Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Drop dlv-dap per #1300
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel authored Feb 10, 2022
1 parent c5cb804 commit a6e6f0b
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions script-library/go-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ else
fi

# Install Go tools that are isImportant && !replacedByGopls based on
# https://github.com/golang/vscode-go/blob/0ff533d408e4eb8ea54ce84d6efa8b2524d62873/src/goToolsInformation.ts
# Exception `dlv-dap` is a copy of github.com/go-delve/delve/cmd/dlv built from the master.
# https://github.com/golang/vscode-go/blob/v0.31.1/src/goToolsInformation.ts
GO_TOOLS="\
golang.org/x/tools/gopls@latest \
honnef.co/go/tools/cmd/staticcheck@latest \
Expand Down Expand Up @@ -227,16 +226,6 @@ if [ "${INSTALL_GO_TOOLS}" = "true" ]; then
# Move Go tools into path and clean up
mv /tmp/gotools/bin/* ${TARGET_GOPATH}/bin/

# install dlv-dap (dlv@master) - but do not exit on failure
set +e
go ${go_install_command} -v github.com/go-delve/delve/cmd/dlv@master 2>&1 | tee -a /usr/local/etc/vscode-dev-containers/go.log
set -e
if [ -e "/tmp/gotools/bin/dlv" ]; then
mv /tmp/gotools/bin/dlv ${TARGET_GOPATH}/bin/dlv-dap
else
echo "(*) Failed to install github.com/go-delve/delve/cmd/dlv@master. Skipping."
fi

rm -rf /tmp/gotools
fi

Expand Down

0 comments on commit a6e6f0b

Please sign in to comment.