generated from bokulich-lab/q2-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
37 lines (27 loc) · 998 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
31
32
33
34
35
36
37
.PHONY: all lint test test-cov install dev prep-dev-container clean distclean
PYTHON ?= python
all: ;
lint:
q2lint
flake8
test: all
py.test
test-cov: all
coverage run -m pytest
coverage xml
install: all
bash install-pplacer.sh
pip install git+https://github.com/Ecogenomics/CheckM.git@8b42a8ca13dda3a967e2247efe6032f9df1bd434
$(PYTHON) setup.py install
dev: all
bash install-pplacer.sh
pip install pre-commit git+https://github.com/Ecogenomics/CheckM.git@8b42a8ca13dda3a967e2247efe6032f9df1bd434
pip install -e .
pre-commit install
prep-dev-container: all
conda install mamba -qy -n base -c conda-forge
mamba install -p /opt/conda/envs/qiime2-$(QIIME_VERSION) -qy -c conda-forge -c bioconda -c defaults --file requirements.txt flake8 coverage wget pytest-xdist autopep8
/opt/conda/envs/qiime2-$(QIIME_VERSION)/bin/pip install -q https://github.com/qiime2/q2lint/archive/master.zip
/opt/conda/envs/qiime2-$(QIIME_VERSION)/bin/pip install -e .
clean: distclean
distclean: ;