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

Commit a6e6f0b

Browse files
authored
Drop dlv-dap per #1300
1 parent c5cb804 commit a6e6f0b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

script-library/go-debian.sh

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,7 @@ else
195195
fi
196196

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

230-
# install dlv-dap (dlv@master) - but do not exit on failure
231-
set +e
232-
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
233-
set -e
234-
if [ -e "/tmp/gotools/bin/dlv" ]; then
235-
mv /tmp/gotools/bin/dlv ${TARGET_GOPATH}/bin/dlv-dap
236-
else
237-
echo "(*) Failed to install github.com/go-delve/delve/cmd/dlv@master. Skipping."
238-
fi
239-
240229
rm -rf /tmp/gotools
241230
fi
242231

0 commit comments

Comments
 (0)