-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
25 lines (20 loc) · 685 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
env = PATH=./env/bin:${PATH}
image = biobox_testing/jgi-isolate-pipeline
ssh: .image env
docker run \
--volume=$(abspath ./biobox_verify/input):/bbx/input:ro \
--volume=$(abspath ./biobox_verify/output):/bbx/output:rw \
-it \
--entrypoint=/bin/bash \
$(image)
test: .image env
$(env) biobox verify short_read_assembler $(image) --verbose
$(env) biobox verify short_read_assembler $(image) --verbose --task=merge
$(env) biobox verify short_read_assembler $(image) --verbose --task=experimental
build: .image
.image: $(shell find image -type f) Dockerfile
@docker build --tag $(image) .
@touch $@
env:
@virtualenv -p python3 $@
@$@/bin/pip install biobox_cli