]> jfr.im git - yt-dlp.git/commitdiff
[cleanup] Improve `make clean-test` (#972)
authorÁkos Sülyi <redacted>
Tue, 14 Sep 2021 18:23:47 +0000 (20:23 +0200)
committerGitHub <redacted>
Tue, 14 Sep 2021 18:23:47 +0000 (23:53 +0530)
Authored by: sulyi

.gitignore
Makefile

index 443e637aee44b525ef6be8ccc17e694c36daf477..88a9605f7bf7544ced3216208e6cef842a65c328 100644 (file)
@@ -42,7 +42,7 @@ cookies
 *.description
 
 # Allow config/media files in testdata
-!test/testdata/**
+!test/**
 
 # Python
 *.pyc
index 4ee1095d164d76cc28db276abd2ffa61ff98d4a5..763d5223df5493eade7950cca80d41109ce271c9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,9 @@ pypi-files: AUTHORS Changelog.md LICENSE README.md README.txt supportedsites com
 .PHONY: all clean install test tar pypi-files completions ot offlinetest codetest supportedsites
 
 clean-test:
-       rm -rf *.dump *.part* *.ytdl *.info.json *.mp4 *.m4a *.flv *.mp3 *.avi *.mkv *.webm *.3gp *.wav *.ape *.swf *.jpg *.png *.frag *.frag.urls *.frag.aria2 test/testdata/player-*.js *.opus *.webp *.ttml *.vtt *.jpeg
+       rm -rf *.3gp *.annotations.xml *.ape *.avi *.description *.dump *.flac *.flv *.frag *.frag.aria2 *.frag.urls \
+       *.info.json *.jpeg *.jpg *.live_chat.json *.m4a *.m4v *.mkv *.mp3 *.mp4 *.ogg *.opus *.part* *.png *.sbv *.srt \
+       *.swf *.swp *.ttml *.vtt *.wav *.webm *.webp *.ytdl test/testdata/player-*.js
 clean-dist:
        rm -rf yt-dlp.1.temp.md yt-dlp.1 README.txt MANIFEST build/ dist/ .coverage cover/ yt-dlp.tar.gz completions/ yt_dlp/extractor/lazy_extractors.py *.spec CONTRIBUTING.md.tmp yt-dlp yt-dlp.exe yt_dlp.egg-info/ AUTHORS .mailmap
 clean-cache: