mirror of
https://github.com/rclone/rclone.git
synced 2024-12-25 16:38:59 +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")
|
|
}
|