aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁkos Sülyi <sulyi.gbox@gmail.com>2021-09-14 20:23:47 +0200
committerGitHub <noreply@github.com>2021-09-14 23:53:47 +0530
commit40b18348e70abdbdbd7445404336f96a525f9457 (patch)
treebbf29a6b3421bfddfc407611db0db3b6762464d5
parente9a30b181e4c27319df5e97d46bdfeb61e0d07bf (diff)
downloadhypervideo-pre-40b18348e70abdbdbd7445404336f96a525f9457.tar.lz
hypervideo-pre-40b18348e70abdbdbd7445404336f96a525f9457.tar.xz
hypervideo-pre-40b18348e70abdbdbd7445404336f96a525f9457.zip
[cleanup] Improve `make clean-test` (#972)
Authored by: sulyi
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 443e637ae..88a9605f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,7 +42,7 @@ cookies
*.description
# Allow config/media files in testdata
-!test/testdata/**
+!test/**
# Python
*.pyc
diff --git a/Makefile b/Makefile
index 4ee1095d1..763d5223d 100644
--- 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: