forked from StellarCN/py-stellar-base
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (34 loc) · 688 Bytes
/
Copy pathMakefile
File metadata and controls
44 lines (34 loc) · 688 Bytes
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
# default target does nothing
.DEFAULT_GOAL: default
default: ;
install:
pip install .
.PHONY: install
install-dev:
pipenv install --dev
.PHONY: install-dev
test:
pytest -v -s -rs tests --cov --cov-report=html
.PHONY: test
full-test:
pytest -v -s -rs tests --runslow --cov --cov-report=html
.PHONY: full-test
codecov:
codecov
.PHONY: codecov
package:
python setup.py sdist bdist_wheel
.PHONY: package
pypi:
twine upload dist/*
.PHONY: pypi
clean:
find . -name \*.pyc -delete
.PHONY: clean
update-xdr:
python .xdr/update_xdr.py
.PHONY: update-xdr
lock:
pipenv lock --requirements > requirements.txt
pipenv lock --requirements --dev > requirements-dev.txt
.PHONY: lock