mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +00:00
Update build tag constraints
This patch updates all build tag constraints to add the new format, alongside the old one, to maintain backwards compatibility. This was done by using `go fmt`. See https://go.dev/doc/go1.17#gofmt and https://golang.org/design/draft-gobuild for more details.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// chasquid-util is a command-line utility for chasquid-related operations.
|
||||
//
|
||||
// Don't include it in the coverage build.
|
||||
//go:build !coverage
|
||||
// +build !coverage
|
||||
|
||||
package main
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
//
|
||||
// See coverage_test.go for the details, this is the same horrible hack.
|
||||
//
|
||||
//go:build coveragebin
|
||||
// +build coveragebin
|
||||
|
||||
package main
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
//
|
||||
// See the usage below for details.
|
||||
//
|
||||
//go:build !coverage
|
||||
// +build !coverage
|
||||
|
||||
package main
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// smtp-check is a command-line too for checking SMTP setups.
|
||||
//
|
||||
//go:build !coverage
|
||||
// +build !coverage
|
||||
|
||||
package main
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// Command line tool for playing with the SPF library.
|
||||
//
|
||||
// Not for use in production, just development and experimentation.
|
||||
//go:build !coverage
|
||||
// +build !coverage
|
||||
|
||||
package main
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
//
|
||||
// The test has a build label so it's not accidentally executed during normal
|
||||
// "go test" invocations.
|
||||
//go:build coveragebin
|
||||
// +build coveragebin
|
||||
|
||||
package main
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// This is only used in tests, when the "dnsoverride" tag is active.
|
||||
// It requires Go >= 1.8.
|
||||
//
|
||||
//go:build dnsoverride
|
||||
// +build dnsoverride
|
||||
|
||||
package main
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// Fuzz testing for package aliases.
|
||||
|
||||
//go:build gofuzz
|
||||
// +build gofuzz
|
||||
|
||||
package aliases
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// Fuzz testing for package aliases.
|
||||
|
||||
//go:build gofuzz
|
||||
// +build gofuzz
|
||||
|
||||
package auth
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// Fuzz testing for package normalize.
|
||||
|
||||
//go:build gofuzz
|
||||
// +build gofuzz
|
||||
|
||||
package normalize
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// Fuzz testing for package smtpsrv. Based on server_test.
|
||||
|
||||
//go:build gofuzz
|
||||
// +build gofuzz
|
||||
|
||||
package smtpsrv
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// SMTP connection generator, for testing purposes.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// Generate an HTML visualization of a Go coverage profile.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// Fetch an URL, and check if the response matches what we expect.
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// Generate a self-signed X.509 certificate for a TLS server. Outputs to
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
//
|
||||
// From: https://git.lukeshu.com/go/cmd/gocovcat/
|
||||
//
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// Copyright 2017 Luke Shumaker <lukeshu@parabola.nu>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// SMTP load generator, for testing purposes.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build ignore
|
||||
// +build ignore
|
||||
|
||||
// minidns is a trivial DNS server used for testing.
|
||||
|
||||
Reference in New Issue
Block a user