Improved the "test" target in the Makefile file to make the cleaning of the docker image optional.
This commit is contained in:
parent
847c2afc44
commit
9965deb2a8
6
Makefile
6
Makefile
@ -50,10 +50,12 @@ ifeq ($(docker),yes)
|
||||
--workdir ${DOCKER_VOLUME_TARGET} \
|
||||
--platform ${platform} \
|
||||
${DOCKER_IMAGE_NAME}:${tag} \
|
||||
swift test --parallel
|
||||
swift test --configuration ${config}
|
||||
ifeq ($(clean),yes)
|
||||
@docker rmi ${DOCKER_IMAGE_NAME}:${tag}
|
||||
endif
|
||||
else
|
||||
@swift test --parallel
|
||||
@swift test --configuration ${config}
|
||||
endif
|
||||
|
||||
# --- HOUSE-KEEPING ---
|
||||
|
Loading…
x
Reference in New Issue
Block a user