8000 Update Makefile · torreshub/msgpack-python@e093435 · GitHub
[go: up one dir, main page]

Skip to content

Commit e093435

Browse files
committed
Update Makefile
1 parent 676bbcd commit e093435

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

Makefile

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
1-
.PHONY: test all python3
2-
1+
.PHONY: all
32
all: cython
43
python setup.py build_ext -i -f
54

6-
doc-serve: all
7-
cd docs && make serve
8-
9-
doc:
10-
cd docs && make zip
11-
12-
upload-doc:
13-
python setup.py upload_docs --upload-dir docs/_build/html
14-
5+
.PHONY: cython
156
cython:
167
cython --cplus msgpack/*.pyx
178

18-
python3: cython
19-
python3 setup.py build_ext -i -f
20-
9+
.PHONY: test
2110
test:
22-
py.test test
11+
py.test -v test
12+
13+
.PHONY: serve-doc
14+
serve-doc: all
15+
cd docs && make serve
2316

2417
.PHONY: clean
2518
clean:
2619
rm -rf build
2720
rm msgpack/*.so
2821
rm -rf msgpack/__pycache__
22+
rm -rf test/__pycache__
2923

30-
build-manylinux1-wheel:
24+
.PHONY: linux-wheel
25+
linux-wheel:
3126
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_i686 bash docker/buildwheel.sh
3227
docker run --rm -ti -v `pwd`:/project -w /project quay.io/pypa/manylinux1_x86_64 bash docker/buildwheel.sh

0 commit comments

Comments
 (0)
0