mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
test: Finish initial storage test suite, closes #82
This commit is contained in:
5
Makefile
5
Makefile
@@ -3,7 +3,7 @@ SHELL = /bin/sh
|
||||
SRC := $(shell find . -type f -name '*.go' -not -path "./vendor/*")
|
||||
PKGS := $(shell go list ./... | grep -v /vendor/)
|
||||
|
||||
.PHONY: all build clean fmt lint simplify test
|
||||
.PHONY: all build clean fmt lint reflex simplify test
|
||||
|
||||
commands = client inbucket
|
||||
|
||||
@@ -34,3 +34,6 @@ lint:
|
||||
@test -z "$(shell gofmt -l . | tee /dev/stderr)" || echo "[WARN] Fix formatting issues with 'make fmt'"
|
||||
@golint -set_exit_status $(PKGS)
|
||||
@go vet $(PKGS)
|
||||
|
||||
reflex:
|
||||
reflex -r '\.go$$' -- sh -c 'echo; date; echo; go test ./...'
|
||||
|
||||
Reference in New Issue
Block a user