mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* delve -> 1.26.1 in updater-delve-1.26.1 * updater-delve-1.26.1: Package File Update Run on linux/386 container. * updater-delve-1.26.1: Package File Update Run on linux/amd64 container. --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
30 lines
748 B
Ruby
30 lines
748 B
Ruby
require 'package'
|
|
|
|
class Delve < Package
|
|
description 'Debugger for the Go programming language'
|
|
homepage 'https://github.com/go-delve/delve'
|
|
version '1.26.1'
|
|
license 'MIT'
|
|
compatibility 'i686 x86_64'
|
|
source_url 'SKIP'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
i686: 'a566eec3b08e17c43f7f3d9e652b4fcbc2f6f673f36a5fa107500d40b505666d',
|
|
x86_64: 'dda2b038b2dcde6884f3633548b9b5de230645fb5a1fa859ab9cdaa5ad34c599'
|
|
})
|
|
|
|
depends_on 'glibc' => :executable_only
|
|
depends_on 'go' => :build
|
|
|
|
no_source_build
|
|
|
|
def self.install
|
|
system "GOBIN=#{CREW_DEST_PREFIX}/bin go install github.com/go-delve/delve/cmd/dlv@v#{version}"
|
|
end
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nType 'dlv' to get started.\n"
|
|
end
|
|
end
|