Skip to content

Commit 8165dcd

Browse files
dmitshurgopherbot
authored andcommitted
internal: simplify version, delete genv
Simplify the build constraints in signal_unix.go and signal_notunix.go to mirror the cmd/go/internal/base package. Delete the unused genv command. It was used in the era of releasebot, back when CLs to add golang.org/dl commands were being created by hand. These CLs are generated by relui now. Change-Id: Ic471394a30021c599a832f7b2a966160f2a121ed Reviewed-on: https://go-review.googlesource.com/c/dl/+/540222 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 2a66dfb commit 8165dcd

File tree

3 files changed

+1
-176
lines changed

3 files changed

+1
-176
lines changed

internal/genv/main.go

Lines changed: 0 additions & 149 deletions
This file was deleted.

internal/genv/main_test.go

Lines changed: 0 additions & 26 deletions
This file was deleted.

internal/version/signal_unix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build aix || darwin || dragonfly || freebsd || js || linux || netbsd || openbsd || solaris || wasip1
5+
//go:build unix || js || wasip1
66

77
package version
88

0 commit comments

Comments
 (0)