Simplify build tags for restic mount

This command can only be built on Darwin, FreeBSD and Linux
(and if we upgrade bazil.org/fuse, only FreeBSD and Linux:
https://github.com/bazil/fuse/issues/224).

Listing the few supported operating systems explicitly here makes
porting restic to new platforms easier.
This commit is contained in:
greatroar 2020-05-12 11:30:41 +02:00
parent b17bd7f860
commit 649cbec6c5
10 changed files with 10 additions and 40 deletions

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package main

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse

View file

@ -1,7 +1,4 @@
// +build !netbsd
// +build !openbsd
// +build !solaris
// +build !windows
// +build darwin freebsd linux
package fuse