git-sig/Makefile

25 lines
398 B
Makefile

.PHONY:
test: test-image
docker run \
--rm \
--interactive \
--volume $(PWD)/:/home/test/sig \
local/sig-test \
bats sig/test/test.bats
.PHONY: test-image
test-image:
docker build \
--tag local/sig-test \
--file $(PWD)/test/Dockerfile \
$(PWD)
.PHONY:
test-shell: test-shell
docker run \
--rm \
--interactive \
--volume $(PWD)/:/home/test/sig \
local/sig-test \
bash