generated from bokulich-lab/q2-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (23 loc) · 792 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
.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
python -m coverage run -m pytest && coverage xml -o coverage.xml
install: all
$(PYTHON) -m pip install -v .
dev: all
pip install pre-commit
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: ;