From 0b54907a73ce0810c3a148007c45e66eae7109d6 Mon Sep 17 00:00:00 2001 From: Frank Werner Date: Wed, 15 Jul 2020 16:22:18 +0200 Subject: Makefile: Add test target Signed-off-by: Frank Werner Signed-off-by: Jason A. Donenfeld --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47f22d6..1b77f86 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,10 @@ wireguard-go: $(wildcard *.go) $(wildcard */*.go) install: wireguard-go @install -v -d "$(DESTDIR)$(BINDIR)" && install -v -m 0755 "$<" "$(DESTDIR)$(BINDIR)/wireguard-go" +test: + go test -v ./... + clean: rm -f wireguard-go -.PHONY: all clean install generate-version-and-build +.PHONY: all clean test install generate-version-and-build -- cgit v1.2.3