From 63382d250761c56cc3215c7ff91b3d6da554f634 Mon Sep 17 00:00:00 2001 From: Julian Brost Date: Thu, 20 Jun 2024 14:36:48 +0200 Subject: [PATCH] add make test --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6b05d575d..4a422b3cb 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,9 @@ all: go build -o build/ ./cmd/icinga-notifications go build -o build/channel/ ./cmd/channel/... +test: + go test ./... + install: @# config install -d $(DESTDIR)$(sysconfdir)/icinga-notifications @@ -30,8 +33,7 @@ install: @# chmod ensures consistent permissions when cp is called with umask != 022 chmod -R u=rwX,go=rX $(DESTDIR)$(datadir)/icinga-notifications/schema - clean: rm -rf build -.PHONY: all install clean +.PHONY: all test install clean