diff options
author | Robin Jarry <robin@jarry.cc> | 2024-02-26 22:11:13 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-03-04 22:30:01 +0100 |
commit | 963633eb83dc19089236ac78ba9d823e7e2a6df9 (patch) | |
tree | 042172178e6b1388efada29315201fcc559fb7f9 /GNUmakefile | |
parent | 65571b67d7d310089e40d13f26b06cfcb85465bb (diff) | |
download | aerc-963633eb83dc19089236ac78ba9d823e7e2a6df9.tar.gz |
mk: add validate target
Instead of hiding the actual checks deep into the CI framework and into
the sendemail-validate hook, add a validate make target that uses proper
variables and runs the required checks. Use it in the sendemail-validate
hook and the CI builds.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 34e1a592..02e7b612 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -128,6 +128,10 @@ gitconfig: check-patches: @contrib/check-patches origin/master.. +.PHONY: validate +validate: CFLAGS = -Wall -Wextra -Wconversion -Werror -Wformat-security -Wstack-protector -Wpedantic -Wmissing-prototypes +validate: all tests lint check-patches + # Generate build and install rules for one man page # # $1: man page name (e.g: aerc.1) |