loop/Makefile

16 lines
292 B
Makefile
Raw Normal View History

2019-03-07 10:19:27 +01:00
PKG := github.com/lightninglabs/loop
GOTEST := GO111MODULE=on go test -v
GOLIST := go list $(PKG)/... | grep -v '/vendor/'
XARGS := xargs -L 1
TEST_FLAGS = -test.timeout=20m
UNIT := $(GOLIST) | $(XARGS) env $(GOTEST) $(TEST_FLAGS)
unit:
@$(call print, "Running unit tests.")
$(UNIT)