This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 195
195
fi
196
196
197
197
# 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
200
199
GO_TOOLS=" \
201
200
golang.org/x/tools/gopls@latest \
202
201
honnef.co/go/tools/cmd/staticcheck@latest \
@@ -227,16 +226,6 @@ if [ "${INSTALL_GO_TOOLS}" = "true" ]; then
227
226
# Move Go tools into path and clean up
228
227
mv /tmp/gotools/bin/* ${TARGET_GOPATH} /bin/
229
228
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
-
240
229
rm -rf /tmp/gotools
241
230
fi
242
231
You can’t perform that action at this time.
0 commit comments