Docker-Docs/docker-for-windows/Makefile

11 lines
225 B
Makefile

.PHONY:
check:
for img in $$(git ls-files images); do \
base=$$(basename "$$img"); \
if ! git grep -q -F "$$base"; then \
echo >&2 "unused image: $$img"; \
pass=false; \
fi; \
done; \
$$pass