-
-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 625 Bytes
/
Copy pathMakefile
File metadata and controls
23 lines (17 loc) · 625 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY : fe clean all
default:
go run main.go
fe:
cd frontend && pnpm install && pnpm build
dev:
cd frontend && pnpm install && pnpm dev
all: fe
CGO_ENABLED=0 go build -o yt-dlp-webui main.go
multiarch: fe
mkdir -p build
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/yt-dlp-webui_linux-amd64 main.go
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o build/yt-dlp-webui_linux-arm64 main.go
CGO_ENABLED=0 GOOS=linux GOARM=6 GOARCH=arm go build -o build/yt-dlp-webui_linux-armv6 main.go
CGO_ENABLED=0 GOOS=linux GOARM=7 GOARCH=arm go build -o build/yt-dlp-webui_linux-armv7 main.go
clean:
rm -rf build