@@ -74,7 +74,7 @@ setup: ## install dependencies
7474 @echo " $( WHALE) $@ "
7575 # TODO(stevvooe): Install these from the vendor directory
7676 @go get -u github.com/alecthomas/gometalinter
77- @gometalinter --install
77+ @gometalinter --install > /dev/null
7878 @go get -u github.com/stevvooe/protobuild
7979
8080generate : protos
@@ -83,7 +83,7 @@ generate: protos
8383
8484protos : bin/protoc-gen-gogoctrd # # generate protobuf
8585 @echo " $( WHALE) $@ "
86- @PATH=${ROOTDIR} /bin:${PATH} protobuild ${PACKAGES}
86+ @PATH=${ROOTDIR} /bin:${PATH} protobuild --quiet ${PACKAGES}
8787
8888check-protos : protos # # check if protobufs needs to be generated again
8989 @echo " $( WHALE) $@ "
@@ -114,7 +114,7 @@ endif
114114
115115build : # # build the go packages
116116 @echo " $( WHALE) $@ "
117- @go build -v ${EXTRA_FLAGS} ${GO_LDFLAGS} ${GO_GCFLAGS} ${PACKAGES}
117+ @go build ${EXTRA_FLAGS} ${GO_LDFLAGS} ${GO_GCFLAGS} ${PACKAGES}
118118
119119test : # # run tests, except integration tests and tests that require root
120120 @echo " $( WHALE) $@ "
@@ -170,8 +170,8 @@ uninstall:
170170coverage : # # generate coverprofiles from the unit tests, except tests that require root
171171 @echo " $( WHALE) $@ "
172172 @rm -f coverage.txt
173- @go test -i ${TESTFLAGS} $(filter-out ${INTEGRATION_PACKAGE},${PACKAGES})
174- ( for pkg in $( filter-out ${INTEGRATION_PACKAGE} ,${PACKAGES} ) ; do \
173+ @go test -i ${TESTFLAGS} $(filter-out ${INTEGRATION_PACKAGE},${PACKAGES}) 2> /dev/null
174+ @ ( for pkg in $( filter-out ${INTEGRATION_PACKAGE} ,${PACKAGES} ) ; do \
175175 go test ${TESTFLAGS} \
176176 -cover \
177177 -coverprofile=profile.out \
@@ -184,8 +184,8 @@ coverage: ## generate coverprofiles from the unit tests, except tests that requi
184184
185185root-coverage : # # generate coverage profiles for unit tests that require root
186186 @echo " $( WHALE) $@ "
187- @go test -i ${TESTFLAGS} $(filter-out ${INTEGRATION_PACKAGE},${TEST_REQUIRES_ROOT_PACKAGES})
188- ( for pkg in $( filter-out ${INTEGRATION_PACKAGE} ,${TEST_REQUIRES_ROOT_PACKAGES} ) ; do \
187+ @go test -i ${TESTFLAGS} $(filter-out ${INTEGRATION_PACKAGE},${TEST_REQUIRES_ROOT_PACKAGES}) 2> /dev/null
188+ @ ( for pkg in $( filter-out ${INTEGRATION_PACKAGE} ,${TEST_REQUIRES_ROOT_PACKAGES} ) ; do \
189189 go test ${TESTFLAGS} \
190190 -cover \
191191 -coverprofile=profile.out \
0 commit comments