summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 206bf7c..107566a 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,10 @@ LDFLAGS := -ldflags "-w -s -X main.version=$(VERSION) -X main.date=$(DATE)"
$(BINARY): *.go
go build $(LDFLAGS) -o $(BINARY)
+test: *.go
+ go test -v ./...
+
clean:
rm -f $(BINARY)
-.PHONY: clean
+.PHONY: clean test