-
Notifications
You must be signed in to change notification settings - Fork 47
/
Makefile
54 lines (44 loc) · 1.26 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
.PHONY : test check examples build clean push_release
SRR1 = SRR8426358
SRR2 = SRR8426359
SRP1 = SRP178136
SRP2 = SRP096361
GSE1 = GSE135326
GSE2 = GSE124494
DOI1 = 10.1038/s41467-019-08831-9
DOI2 = 10.1016/j.immuni.2019.06.027
test:
nosetests --verbose --with-coverage --cover-package ffq
check:
flake8 ffq && echo OK
black --check ffq/ && echo OK
examples:
pip install .
ffq -o examples/srr_single.json $(SRR1)
ffq -o examples/srr_multiple.json $(SRR1) $(SRR2)
ffq -o examples/srr_split --split $(SRR1) $(SRR2)
ffq -o examples/srp_single.json -t SRP $(SRP1)
ffq -o examples/srp_multiple.json -t SRP $(SRP1) $(SRP2)
ffq -o examples/srp_split -t SRP --split $(SRP1) $(SRP2)
ffq -o examples/gse_single.json -t GSE $(GSE1)
ffq -o examples/gse_multiple.json -t GSE $(GSE1) $(GSE2)
ffq -o examples/gse_split -t GSE --split $(GSE1) $(GSE2)
ffq -o examples/doi_single.json -t DOI $(DOI1)
ffq -o examples/doi_multiple.json -t DOI $(DOI1) $(DOI2)
ffq -o examples/doi_split -t DOI --split $(DOI1) $(DOI2)
build:
python setup.py sdist bdist_wheel
clean:
rm -rf build
rm -rf dist
rm -rf ffq.egg-info
rm -rf docs/_build
rm -rf docs/api
bump_patch:
bumpversion patch
bump_minor:
bumpversion minor
bump_major:
bumpversion major
push_release:
git push && git push --tags