Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Makefile 996 Bytes
Newer Older
Carine Rey's avatar
Carine Rey committed
1
.PHONY: build install build_docker push_docker test clean_test
2

Philippe Veber's avatar
Philippe Veber committed
3 4 5 6 7
build:
	jbuilder build

install:
	jbuilder install
8

Carine Rey's avatar
Carine Rey committed
9
clean:
Carine Rey's avatar
update  
Carine Rey committed
10 11 12
	rm -r _build || exit 0
	rm -r example/_bistro || exit 0
	rm -r example/outdir || exit 0
Carine Rey's avatar
Carine Rey committed
13

14
build_docker:
15
	@for dir in ./etc/docker/*; \
16 17 18
	do\
		cd $${dir}; \
		bash ./build_docker.sh; \
Carine Rey's avatar
Carine Rey committed
19
		cd - ; \
20 21 22
	done

push_docker:
23
	@for dir in ./etc/docker/*; \
24 25 26
	do\
		cd $${dir}; \
		bash ./build_docker.sh push_yes; \
Carine Rey's avatar
Carine Rey committed
27
		cd - ; \
28
	done
Carine Rey's avatar
Carine Rey committed
29 30

test:
Carine Rey's avatar
Carine Rey committed
31
	cd example && \
Carine Rey's avatar
update  
Carine Rey committed
32
	reviewphiltrans pipeline --outdir outdir --tree-dir trees --profile-fn aa_fitness/aafitness1_first_100_freq_ok_bpp.csv --preview --np 4 && \
Carine Rey's avatar
Carine Rey committed
33 34 35 36 37 38
	dot -Tsvg dag.dot -o dag.svg

analyses:
	cd example && \
	reviewphiltrans pipeline --outdir outdir_analyses --tree-dir trees4analyses --profile-fn aa_fitness/aafitness1_first_100_freq_ok_bpp.csv --np 4 && \
	dot -Tpdf  dag.dot -o dag.pdf
Carine Rey's avatar
Carine Rey committed
39 40

clean_test:
Carine Rey's avatar
Carine Rey committed
41 42 43 44
	rm -r example/_bistro || exit 0
	rm -r example/outdir || exit 0
	rm -r example/report.log || exit 0
	rm -r example/dot.dag || exit 0