mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:54:44 +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")
|
|
}
|