forked from metagenomics/MeRaGENE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (21 loc) · 813 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
26
27
28
29
30
path := PATH=./vendor/python/bin:$(shell echo "${PATH}")
nextflow = "vendor/nextflow"
install: vendor/python
vendor/python: vendor/virtualenv requirements.txt
mkdir -p log
python vendor/virtualenv/virtualenv.py $@ --extra-search-dir vendor/virtualenv/virtualenv_support 2>&1 > log/virtualenv.txt
$(path) pip install -r requirements.txt 2>&1 > log/pip.txt
vendor/virtualenv:
mkdir -p vendor/virtualenv
curl -L https://github.com/pypa/virtualenv/archive/13.1.2.tar.gz | tar xz --strip-components=1 --directory $@
test = $(path) nosetests -s --rednose
feature: vendor/nextflow
rm -rf tmp/output
@$(path) behave --stop
test:
@$(test)
vendor/nextflow:
mkdir -p $(nextflow)
curl -fsSL get.nextflow.io --output $(nextflow)/nextflow
chmod a+x $(nextflow)/nextflow
.PHONY: vendor/nextflow test