Skip to content

Commit fe0730a

Browse files
committed
makefile refinements
1 parent 83354b6 commit fe0730a

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
1+
.PHONY: readme
12
readme:
23
pandoc --from=markdown --to=rst --output=README.rst README.md
34

5+
.PHONY: release
46
release: readme
57
python setup.py sdist bdist_wheel upload
68

9+
.PHONY: test
710
test:
811
nosetests --with-coverage --cover-package=fs -a "!slow" tests
912
rm .coverage
1013

14+
.PHONY: slowtest
1115
slowtest:
1216
nosetests --with-coverage --cover-erase --cover-package=fs tests
1317
rm .coverage
1418

19+
.PHONY: testall
20+
testall:
21+
tox
22+
23+
.PHONY: docs
24+
docs:
25+
cd docs && make html
26+
python -c "import os, webbrowser; webbrowser.open('file://' + os.path.abspath('./docs/build/html/index.html'))"
File renamed without changes.

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py34,py35,pypy
2+
envlist = py27,py34,py35,py36,pypy
33
sitepackages = False
44

55
[testenv]

0 commit comments

Comments
 (0)