go-toolbox/scripts/workers/dlv.sh
Stanislav N. aka pztrn 8b945c8f90
All checks were successful
continuous-integration/drone Build is passing
Initial commit.
2024-05-04 13:18:37 +05:00

8 lines
178 B
Bash
Executable File

#!/bin/bash
dlv_version=1.22.1
set -xe
CGO_ENABLED=0 GOBIN=/usr/local/bin/ go install -ldflags "-s -w -extldflags '-static'" github.com/go-delve/delve/cmd/dlv@v"$dlv_version"