Skip to content

Commit 681f14c

Browse files
committed
updates Makefile/tox
1 parent a7c1aa6 commit 681f14c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
test:
2-
pytest tests
1+
build:
2+
python setup.py sdist bdist_wheel
33

44
clean:
55
rm -fr dist build pytest_echo.egg-info .coverage ./~build
@@ -8,5 +8,6 @@ fullclean: clean
88
rm -fr .tox .cache .pytest_cache
99
find . -name '*.pyc' -exec rm -f {} +
1010

11-
release:
12-
python setup.py sdist bdist_wheel
11+
release: build
12+
twine upload dist/*
13+
$(MAKE) fullclean

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ deps =
1515

1616
commands =
1717
pip install -e .
18-
coverage run -m py.test test_echo.py pytest_echo.py
18+
coverage run -m py.test -vv test_echo.py pytest_echo.py
1919
coverage report
2020
coverage html
2121

0 commit comments

Comments
 (0)