-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 1.19 KB
/
Makefile
File metadata and controls
41 lines (31 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.PHONY: build build-embedded build-gui build-gui-embedded fetch-ytdlp fetch-ffmpeg test test-integration test-all clean
## build: compile without embedded yt-dlp (requires yt-dlp in PATH at runtime)
build:
@bash scripts/build.sh
## build-embedded: compile with yt-dlp binaries embedded in the output binary
build-embedded:
@bash scripts/build.sh --embedded
## build-gui: compile the GUI binary without embedded yt-dlp
build-gui:
@bash scripts/build.sh --gui
## build-gui-embedded: compile the GUI binary with yt-dlp binaries embedded
build-gui-embedded:
@bash scripts/build.sh --gui --embedded
## fetch-ytdlp: download yt-dlp binaries for all supported platforms into third_party/bin/
fetch-ytdlp:
@bash scripts/fetch-ytdlp.sh
## fetch-ffmpeg: download FFmpeg Windows binary into third_party/bin/ffmpeg.exe
fetch-ffmpeg:
@bash scripts/fetch-ffmpeg.sh
## test: run unit tests
test:
@bash scripts/test.sh --unit
## test-integration: run integration tests (requires network access)
test-integration:
@bash scripts/test.sh --integration
## test-all: run unit and integration tests
test-all:
@bash scripts/test.sh --all
## clean: remove build artifacts and coverage reports
clean:
rm -rf bin/ coverage/