1
0
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:
Alberto Bertogli
2022-08-08 17:52:34 +01:00
parent d4b89db6c3
commit 5bb17c7066
18 changed files with 18 additions and 0 deletions

View File

@@ -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

View File

@@ -3,6 +3,7 @@
//
// See coverage_test.go for the details, this is the same horrible hack.
//
//go:build coveragebin
// +build coveragebin
package main

View File

@@ -2,6 +2,7 @@
//
// See the usage below for details.
//
//go:build !coverage
// +build !coverage
package main

View File

@@ -1,5 +1,6 @@
// smtp-check is a command-line too for checking SMTP setups.
//
//go:build !coverage
// +build !coverage
package main

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,5 +1,6 @@
// Fuzz testing for package aliases.
//go:build gofuzz
// +build gofuzz
package aliases

View File

@@ -1,5 +1,6 @@
// Fuzz testing for package aliases.
//go:build gofuzz
// +build gofuzz
package auth

View File

@@ -1,5 +1,6 @@
// Fuzz testing for package normalize.
//go:build gofuzz
// +build gofuzz
package normalize

View File

@@ -1,5 +1,6 @@
// Fuzz testing for package smtpsrv. Based on server_test.
//go:build gofuzz
// +build gofuzz
package smtpsrv

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// SMTP connection generator, for testing purposes.

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// Generate an HTML visualization of a Go coverage profile.

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// Fetch an URL, and check if the response matches what we expect.

View File

@@ -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

View File

@@ -2,6 +2,7 @@
//
// From: https://git.lukeshu.com/go/cmd/gocovcat/
//
//go:build ignore
// +build ignore
// Copyright 2017 Luke Shumaker <lukeshu@parabola.nu>

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// SMTP load generator, for testing purposes.

View File

@@ -1,3 +1,4 @@
//go:build ignore
// +build ignore
// minidns is a trivial DNS server used for testing.