mirror of
https://github.com/rclone/rclone.git
synced 2025-02-27 08:48:40 +08:00

Allow downstream packaging to build rclone without selfupdate command: $ go build -tags noselfupdate Fixes #5187
12 lines
171 B
Go
12 lines
171 B
Go
// +build noselfupdate
|
|
|
|
package selfupdate
|
|
|
|
import (
|
|
"github.com/rclone/rclone/lib/buildinfo"
|
|
)
|
|
|
|
func init() {
|
|
buildinfo.Tags = append(buildinfo.Tags, "noselfupdate")
|
|
}
|