forked from walkr/nanoservice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (28 loc) · 754 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
.PHONY: help test
help:
@echo
@echo "USAGE: make [target]"
@echo
@echo "TARGETS:"
@echo
@echo " install - install"
@echo " clean - clean"
@echo " test - run tests"
@echo " bench - run benchmarks"
@echo " distribute - upload to PyPI"
@echo
test:
@nosetests test # --nologcapture
install:
@python setup.py install
clean:
@rm -rf build dist nanoservice.egg-info
bench:
@python benchmarks/bench_req_rep.py
@python benchmarks/bench_req_rep_auth.py
@python benchmarks/bench_req_rep_raw.py
@python benchmarks/bench_pub_sub.py
@python benchmarks/bench_pub_sub_auth.py
@python benchmarks/bench_pub_sub_raw.py
distribute:
@python setup.py register -r pypi && python setup.py sdist upload -r pypi