forked from PyFilesystem/s3fs
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
26 lines (21 loc) · 637 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
.PHONY: readme
readme:
pandoc --from=markdown --to=rst --output=README.rst README.md
.PHONY: release
release: readme
python setup.py sdist bdist_wheel upload
.PHONY: test
test:
nosetests --with-coverage --cover-erase --logging-level=ERROR --cover-package=fs_s3fs -a "!slow" fs_s3fs/tests
rm .coverage
.PHONY: slowtest
slowtest:
nosetests --with-coverage --cover-erase --logging-level=ERROR --cover-package=fs_s3fs fs_s3fs/tests
rm .coverage
.PHONY: testall
testall:
tox
.PHONY: docs
docs:
cd docs && make html
python -c "import os, webbrowser; webbrowser.open('file://' + os.path.abspath('./docs/_build/html/index.html'))"