1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Files
go-chasquid-smtp/.gitignore
Alberto Bertogli 21e8d50df6 test: Improve layout of helper binaries
This patch moves the test helper binaries to a "one directory per
helper" layout, and also makes them to be ignored in the coverage build
instead of all builds.

With this change, "go build ./..." will build all binaries including the
test helpers, which helps make sure that module manage automation also
considers them. In particular, this makes "go mod tidy" work fine.
2022-08-27 18:46:54 +01:00

46 lines
1.1 KiB
Plaintext

# Ignore anything beginning with a dot: these are usually temporary or
# unimportant.
.*
# Exceptions to the rules above: files we care about that would otherwise be
# excluded.
!.gitignore
# The binaries.
/chasquid
/chasquid-util
/smtp-check
/mda-lmtp
/dovecot-auth-cli
cmd/chasquid-util/chasquid-util
cmd/smtp-check/smtp-check
cmd/mda-lmtp/mda-lmtp
cmd/dovecot-auth-cli/dovecot-auth-cli
# Test util binaries.
test/util/conngen/conngen
test/util/coverhtml/coverhtml
test/util/fexp/fexp
test/util/generate_cert/generate_cert
test/util/gocovcat/gocovcat
test/util/loadgen/loadgen
test/util/minidns/minidns
# Test binary, generated during coverage tests.
chasquid.test
# Exclude any .pem files, to prevent accidentally including test keys and
# certificates.
*.pem
# Ignore the generated corpus: we don't want to commit it to the repository by
# default, to avoid size blowup. Manually added corpus will begin with "t-",
# and thus not ignored.
# Leave crashers not ignored, to make them easier to spot (and they should be
# moved to manually-added corpus once detected).
**/testdata/fuzz/corpus/[0-9a-f]*
# go-fuzz build artifacts.
*-fuzz.zip