1
mirror of https://github.com/rclone/rclone synced 2024-11-24 01:26:25 +01:00

build: remove go1.13 build constraints

This commit is contained in:
Nick Craig-Wood 2021-02-03 17:46:08 +00:00
parent bcac8fdc83
commit 1545ace8f2
14 changed files with 16 additions and 20 deletions

View File

@ -1,4 +1,4 @@
// +build go1.13,!plan9
// +build !plan9
// Package tardigrade provides an interface to Tardigrade decentralized object storage.
package tardigrade

View File

@ -1,4 +1,4 @@
// +build go1.13,!plan9
// +build !plan9
package tardigrade

View File

@ -1,4 +1,4 @@
// +build go1.13,!plan9
// +build !plan9
// Test Tardigrade filesystem interface
package tardigrade_test

View File

@ -1,3 +1,3 @@
// +build !go1.13 plan9
// +build plan9
package tardigrade

View File

@ -1,4 +1,4 @@
// +build linux,go1.13 freebsd,go1.13
// +build linux freebsd
package mount

View File

@ -1,4 +1,4 @@
// +build linux,go1.13 freebsd,go1.13
// +build linux freebsd
package mount

View File

@ -1,6 +1,6 @@
// FUSE main Fs
// +build linux,go1.13 freebsd,go1.13
// +build linux freebsd
package mount

View File

@ -1,4 +1,4 @@
// +build linux,go1.13 freebsd,go1.13
// +build linux freebsd
package mount

View File

@ -1,6 +1,6 @@
// Package mount implements a FUSE mounting system for rclone remotes.
// +build linux,go1.13 freebsd,go1.13
// +build linux freebsd
package mount

View File

@ -1,4 +1,4 @@
// +build linux,go1.13 freebsd,go1.13
// +build linux freebsd
package mount

View File

@ -1,13 +1,9 @@
// Build for mount for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// Invert the build constraint: linux,go1.13 freebsd,go1.13
//
// !((linux&&go1.13) || (freebsd&&go1.13))
// == !(linux&&go1.13) && !(freebsd&&go1.13))
// == (!linux || !go1.13) && (!freebsd || !go1.13))
// Invert the build constraint: linux freebsd
// +build !linux !go1.13
// +build !freebsd !go1.13
// +build !linux
// +build !freebsd
package mount

View File

@ -1,6 +1,6 @@
// Package ftp implements an FTP server for rclone
//+build !plan9,go1.13
//+build !plan9
package ftp

View File

@ -3,7 +3,7 @@
//
// We skip tests on platforms with troublesome character mappings
//+build !windows,!darwin,!plan9,go1.13
//+build !windows,!darwin,!plan9
package ftp

View File

@ -1,7 +1,7 @@
// Build for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// +build plan9 !go1.13
// +build plan9
package ftp