1
0
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:
James Hillyerd
2018-03-16 22:05:07 -07:00
parent 5e13e50763
commit 9b3d3c2ea8
3 changed files with 260 additions and 237 deletions

View File

@@ -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 ./...'