Skip to content

Commit 566d6af

Browse files
author
Aaron Schlesinger
committed
fix(Makefile): run glide nv inside container correctly
1 parent 469df26 commit 566d6af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RC := manifests/deis-${SHORT_NAME}-rc.yaml
2727
SVC := manifests/deis-${SHORT_NAME}-service.yaml
2828
IMAGE := ${DEIS_REGISTRY}${IMAGE_PREFIX}/${SHORT_NAME}:${VERSION}
2929

30+
TEST_PACKAGES := $(shell ${DEV_ENV_CMD} glide nv)
3031

3132
all:
3233
@echo "Use a Makefile to control top-level building of the project."
@@ -45,7 +46,7 @@ build:
4546
@$(call check-static-binary,$(BINARY_DEST_DIR)/boot)
4647

4748
test:
48-
${DEV_ENV_CMD} go test `glide nv`
49+
${DEV_ENV_CMD} go test ${TEST_PACKAGES}
4950

5051
docker-build:
5152
docker build --rm -t ${IMAGE} rootfs

0 commit comments

Comments
 (0)