Skip to content

Commit 94cc2e3

Browse files
author
Aaron Schlesinger
committed
fix(Makefile): use real test packages
1 parent 12b30d3 commit 94cc2e3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ VERSION := 0.0.1-$(shell date "+%Y%m%d%H%M%S")
1414
# Common flags passed into Go's linker.
1515
LDFLAGS := "-s -X main.version=${VERSION}"
1616

17+
TEST_PACKAGES := $(shell glide nv)
18+
1719
all: build test
1820

1921
# This builds .a files, which will be placed in $GOPATH/pkg
2022
build:
2123
go build ./...
2224

2325
test:
24-
go test $(shell glide nv)
26+
go test ${TEST_PACKAGES}
2527

2628

2729
.PHONY: all build test

0 commit comments

Comments
 (0)