git-sig/Makefile

25 lines
388 B
Makefile
Raw Normal View History

2020-11-18 23:23:15 +00:00
.PHONY:
test: test-image
docker run \
--rm \
--interactive \
--volume $(PWD)/:/home/test/ \
local/sig-test \
bats 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/ \
local/sig-test \
bash