Skip to content

Commit 3750f53

Browse files
author
Vaughn Dice
committed
feat(Makefile): add test target
ref jenkins-jobs#343
1 parent 3161c5e commit 3750f53

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@ test-buildpacks:
6666
test-dockerfiles:
6767
ginkgo --focus="all dockerfile apps" tests
6868

69-
docker-test-style:
70-
docker run --rm -v ${CURDIR}:/bash -w /bash quay.io/deis/shell-dev shellcheck *.sh
69+
test: test-style
70+
71+
test-style:
72+
docker run --rm -v ${CURDIR}:/bash -w /bash \
73+
quay.io/deis/shell-dev shellcheck $(wildcard *.sh)
7174

7275
docker-build:
7376
docker build -t ${IMAGE} ${CURDIR}
@@ -89,7 +92,8 @@ docker-test-integration:
8992
bootstrap \
9093
docker-bootstrap \
9194
test-integration \
92-
docker-test-style \
95+
test \
96+
test-style \
9397
docker-build \
9498
docker-push \
9599
docker-immutable-push \

0 commit comments

Comments
 (0)