mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
9eab258ffb
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")
|
|
}
|