Fix module name to match major version v3. Simplify makefile. (#213)

Co-authored-by: Marco Piovanello <35533749+marcopeocchi@users.noreply.github.com>
This commit is contained in:
Andrási István
2024-11-10 13:59:40 +01:00
committed by GitHub
parent baa25afa27
commit 846fb294d0
24 changed files with 58 additions and 60 deletions

View File

@@ -7,14 +7,12 @@ fe:
cd frontend && pnpm install && pnpm build
dev:
cd frontend && pnpm dev
( cd frontend && pnpm install && pnpm dev )
all:
$(MAKE) fe && cd ..
all: fe
CGO_ENABLED=0 go build -o yt-dlp-webui main.go
multiarch:
$(MAKE) fe
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