a3215f1f9d
Add new "webbrowser" and "colorable" feature tags so that the github.com/toqueteos/webbrowser and mattn/go-colorable packages can be excluded from minbox builds. Updates #12614 Change-Id: Iabd38b242f5a56aa10ef2050113785283f4e1fe8 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
13 lines
225 B
Go
13 lines
225 B
Go
// Copyright (c) Tailscale Inc & contributors
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !ts_omit_webbrowser
|
|
|
|
package cli
|
|
|
|
import "github.com/toqueteos/webbrowser"
|
|
|
|
func init() {
|
|
hookOpenURL.Set(webbrowser.Open)
|
|
}
|