mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add an ID into the Makefile so running tests locally will use the most up to date Docker image.
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,8 +1,9 @@
|
||||
IMAGE ?= w0rp/ale
|
||||
CURRENT_IMAGE_ID = 107e4efc4267
|
||||
DOCKER_FLAGS = --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
|
||||
|
||||
test-setup:
|
||||
docker images -q $(IMAGE) || docker pull $(IMAGE)
|
||||
if [ `docker images -q $(IMAGE)` != $(CURRENT_IMAGE_ID) ]; then docker pull $(IMAGE); fi
|
||||
|
||||
test: test-setup
|
||||
@:; \
|
||||
|
||||
Reference in New Issue
Block a user