diff options
author | Frank Werner <mail@hb9fxq.ch> | 2020-07-15 16:22:18 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-20 12:38:18 +0200 |
commit | 0b54907a73ce0810c3a148007c45e66eae7109d6 (patch) | |
tree | f4b09caa37db855a17333cf2fc00baee7b619406 | |
parent | 2c143dce0ff55feb35c7f6b9199479db88909903 (diff) |
Makefile: Add test target
Signed-off-by: Frank Werner <mail@hb9fxq.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |