Pull request: Improve build tags

Merge in DNS/adguard-home from imp-build-tags to master

Squashed commit of the following:

commit c15793e04c08097835692568a598b8a8d15f57f4
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Sep 13 19:25:20 2022 +0300

    home: imp build tags

commit 2b9b68e9fe6942422951f50d90c70143a3509401
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Sep 13 19:23:56 2022 +0300

    version: imp build tags

commit c0ade3d6ae8885c596fc31312360b25fe992d1e4
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Sep 13 19:20:48 2022 +0300

    dhcpd: imp build tags

commit 0ca2a73b7c3b721400a0cc6383cc9e60f4961f22
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Sep 13 19:17:22 2022 +0300

    aghos: imp build tags

commit 733a685b24b56153b96d59cb97c174ad322ff841
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Tue Sep 13 19:13:11 2022 +0300

    aghnet: imp build tags
This commit is contained in:
Eugene Burkov 2022-09-13 20:06:23 +03:00
parent bc1503af57
commit b74b92fc27
59 changed files with 13 additions and 72 deletions

View file

@ -1,5 +1,4 @@
//go:build darwin || freebsd //go:build darwin || freebsd
// +build darwin freebsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build darwin || freebsd //go:build darwin || freebsd
// +build darwin freebsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build openbsd //go:build openbsd
// +build openbsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build openbsd //go:build openbsd
// +build openbsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build darwin || freebsd || linux || openbsd
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build !(windows || linux) //go:build !(windows || linux)
// +build !windows,!linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || freebsd || netbsd || openbsd || solaris //go:build darwin || freebsd || openbsd
// +build aix darwin dragonfly freebsd netbsd openbsd solaris
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build !linux //go:build !linux
// +build !linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build darwin || freebsd || openbsd //go:build darwin || freebsd || openbsd
// +build darwin freebsd openbsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build darwin //go:build darwin
// +build darwin
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build freebsd //go:build freebsd
// +build freebsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build freebsd //go:build freebsd
// +build freebsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build openbsd //go:build openbsd
// +build openbsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build openbsd //go:build openbsd
// +build openbsd
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build openbsd || freebsd || linux || darwin //go:build darwin || freebsd || linux || openbsd
// +build openbsd freebsd linux darwin
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build !windows //go:build !windows
// +build !windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build !windows //go:build !windows
// +build !windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View file

@ -1,5 +1,4 @@
//go:build mips || mips64 //go:build mips || mips64
// +build mips mips64
// This file is an adapted version of github.com/josharian/native. // This file is an adapted version of github.com/josharian/native.

View file

@ -1,5 +1,4 @@
//go:build amd64 || 386 || arm || arm64 || mipsle || mips64le || ppc64le //go:build amd64 || 386 || arm || arm64 || mipsle || mips64le || ppc64le
// +build amd64 386 arm arm64 mipsle mips64le ppc64le
// This file is an adapted version of github.com/josharian/native. // This file is an adapted version of github.com/josharian/native.

View file

@ -1,5 +1,4 @@
//go:build darwin || netbsd || openbsd //go:build darwin || openbsd
// +build darwin netbsd openbsd
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build freebsd //go:build freebsd
// +build freebsd
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build darwin || freebsd || linux || openbsd //go:build darwin || freebsd || linux || openbsd
// +build darwin freebsd linux openbsd
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build !(windows || plan9) //go:build !windows
// +build !windows,!plan9
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build windows || plan9 //go:build windows
// +build windows plan9
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build darwin || freebsd || linux || netbsd || openbsd //go:build darwin || freebsd || linux || openbsd
// +build darwin freebsd linux netbsd openbsd
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package aghos package aghos

View file

@ -1,5 +1,4 @@
//go:build freebsd || openbsd //go:build freebsd || openbsd
// +build freebsd openbsd
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build freebsd || openbsd //go:build freebsd || openbsd
// +build freebsd openbsd
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || linux || netbsd || solaris //go:build darwin || linux
// +build aix darwin dragonfly linux netbsd solaris
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || linux || netbsd || solaris //go:build darwin || linux
// +build aix darwin dragonfly linux netbsd solaris
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build darwin || freebsd || linux || openbsd
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build darwin || freebsd || linux || openbsd
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build darwin || freebsd || linux || openbsd
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build darwin || freebsd || linux || openbsd
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build windows //go:build windows
// +build windows
package dhcpd package dhcpd

View file

@ -1,5 +1,4 @@
//go:build linux //go:build linux
// +build linux
package home package home

View file

@ -1,5 +1,4 @@
//go:build openbsd //go:build openbsd
// +build openbsd
package home package home

View file

@ -1,5 +1,4 @@
//go:build !(openbsd || linux) //go:build !(openbsd || linux)
// +build !openbsd,!linux
package home package home

View file

@ -1,5 +1,4 @@
//go:build !race //go:build !race
// +build !race
package version package version

View file

@ -1,5 +1,4 @@
//go:build race //go:build race
// +build race
package version package version