diff options
author | Robin Jarry <robin@jarry.cc> | 2023-12-05 20:46:55 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-12-14 23:05:07 +0100 |
commit | 73bf7241e611ea28e7a58584341921d1262afaa1 (patch) | |
tree | de7a87d1c8888d6e4309f5cf06f1a82f9e8ec051 /go.mod | |
parent | 2db657b6bdd6394109c8adc32098d3f39c43f03d (diff) | |
download | aerc-73bf7241e611ea28e7a58584341921d1262afaa1.tar.gz |
lint,validate: fix for openbsd
- Remove GNU specific stuff (ln -v, mktemp --tempdir, grep --color)
- Remove GCC specific flags in sendemail-validate (-Warith-conversion)
- Add -std=c99 and -Wpedantic and fix the reported warnings.
- Explicitly call gmake everywhere.
- Run our custom analyzer standalone. Golangci lint plugins are not
supported on OpenBSD. Indirect dependency to golang.org/x/mod is
required somehow...
Reported-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -51,6 +51,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rogpeppe/go-internal v1.8.1 // indirect golang.org/x/crypto v0.8.0 // indirect + golang.org/x/mod v0.8.0 // indirect golang.org/x/net v0.9.0 // indirect golang.org/x/term v0.7.0 // indirect golang.org/x/text v0.12.0 // indirect |