mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
78295a492c
* Fix overzealous regex which caused video patterns to be identified as clips by testing for videos before clips. * Allow URLs with or without `www.`. * Add tests which verify this actually works. fixes #28
25 lines
482 B
Makefile
25 lines
482 B
Makefile
default : clean dist
|
|
|
|
dist :
|
|
python setup.py sdist --formats=gztar,zip
|
|
python setup.py bdist_wheel --python-tag=py3
|
|
|
|
clean :
|
|
find . -name "*pyc" | xargs rm -rf $1
|
|
rm -rf build dist MANIFEST htmlcov deb_dist twitch-dl*.tar.gz twitch-dl.1.man
|
|
|
|
publish :
|
|
twine upload dist/*.tar.gz dist/*.whl
|
|
|
|
coverage:
|
|
py.test --cov=toot --cov-report html tests/
|
|
|
|
deb:
|
|
@python setup.py --command-packages=stdeb.command bdist_deb
|
|
|
|
man:
|
|
scdoc < twitch-dl.1.scd > twitch-dl.1.man
|
|
|
|
test:
|
|
pytest
|