mirror of
https://github.com/lightninglabs/loop
synced 2024-11-09 19:10:47 +00:00
16 lines
292 B
Makefile
16 lines
292 B
Makefile
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)
|