Skip to content

Commit 9d99d3a

Browse files
author
Vaughn Dice
authored
Merge pull request #353 from vdice/add-test-target
feat(Makefile): add test target
2 parents 57e7cfd + 3750f53 commit 9d99d3a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Makefile

+7-3
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)