mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
Update Makefile
This commit is contained in:
parent
0c88de3862
commit
357379a6a1
13
Makefile
13
Makefile
@ -1,22 +1,15 @@
|
|||||||
default : clean dist
|
default : clean dist
|
||||||
|
|
||||||
dist :
|
dist :
|
||||||
@echo "\nMaking source"
|
python setup.py sdist --formats=gztar,zip
|
||||||
@echo "-------------"
|
python setup.py bdist_wheel --python-tag=py3
|
||||||
@python setup.py sdist
|
|
||||||
|
|
||||||
@echo "\nMaking wheel"
|
|
||||||
@echo "-------------"
|
|
||||||
@python setup.py bdist_wheel --universal
|
|
||||||
|
|
||||||
@echo "\nDone."
|
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
find . -name "*pyc" | xargs rm -rf $1
|
find . -name "*pyc" | xargs rm -rf $1
|
||||||
rm -rf build dist MANIFEST htmlcov deb_dist twitch-dl*.tar.gz twitch-dl.1.man
|
rm -rf build dist MANIFEST htmlcov deb_dist twitch-dl*.tar.gz twitch-dl.1.man
|
||||||
|
|
||||||
publish :
|
publish :
|
||||||
twine upload dist/*
|
twine upload dist/*.tar.gz dist/*.whl
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
py.test --cov=toot --cov-report html tests/
|
py.test --cov=toot --cov-report html tests/
|
||||||
|
Loading…
Reference in New Issue
Block a user