From fd669167a0d40a303954ad71ba176f1eb6999952 Mon Sep 17 00:00:00 2001 From: Arpad Ryszka Date: Sun, 29 Oct 2017 16:47:03 +0100 Subject: [PATCH] full tests before commit --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc268dd..e7775a9 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ build: $(SOURCES) check: build $(PARSERS) go test ./... -test.short -run ^Test +check-all: build $(PARSERS) + go test ./... + fmt: $(SOURCES) @gofmt -w -s $(SOURCES) @@ -21,7 +24,7 @@ cpu.out: $(SOURCES) $(PARSERS) cpu: cpu.out go tool pprof -top cpu.out -precommit: fmt build check +precommit: fmt build check-all clean: @rm -f *.test