full tests before commit

This commit is contained in:
Arpad Ryszka 2017-10-29 16:47:03 +01:00
parent f0288e26b4
commit fd669167a0

View File

@ -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