elvish/Makefile
2015-02-27 02:29:40 +01:00

22 lines
307 B
Makefile

PKGS := edit eval parse sys store errutil sysutil strutil print
PKG_COVERS := $(addprefix cover/,$(PKGS))
all: get test
get:
go get .
test:
go test ./...
cover/%: %
mkdir -p cover
go test -coverprofile=$@ ./$<
cover: $(PKG_COVERS)
generate:
go generate ./...
.PHONY: all get test cover generate