Makefile 637 B

1234567891011121314151617181920212223242526
  1. .PHONY: readme
  2. readme:
  3. pandoc --from=markdown --to=rst --output=README.rst README.md
  4. .PHONY: release
  5. release: readme
  6. python setup.py sdist bdist_wheel upload
  7. .PHONY: test
  8. test:
  9. nosetests --with-coverage --cover-erase --logging-level=ERROR --cover-package=fs_s3fs -a "!slow" fs_s3fs/tests
  10. rm .coverage
  11. .PHONY: slowtest
  12. slowtest:
  13. nosetests --with-coverage --cover-erase --logging-level=ERROR --cover-package=fs_s3fs fs_s3fs/tests
  14. rm .coverage
  15. .PHONY: testall
  16. testall:
  17. tox
  18. .PHONY: docs
  19. docs:
  20. cd docs && make html
  21. python -c "import os, webbrowser; webbrowser.open('file://' + os.path.abspath('./docs/_build/html/index.html'))"