2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-11 13:11:12 +00:00
loop/Makefile

16 lines
292 B
Makefile
Raw Normal View History

2019-03-07 09:19:27 +00: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)