From 131ac5e4eeaa875e8fe3bafefd02023b71e11158 Mon Sep 17 00:00:00 2001 From: syeopite Date: Thu, 30 Nov 2023 15:35:37 -0800 Subject: [PATCH] Add player dependency fetching as separate target --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9eb195df..e542befe 100644 --- a/Makefile +++ b/Makefile @@ -35,14 +35,17 @@ endif # Main # ----------------------- -all: invidious +all: get-player-dependencies invidious get-libs: shards install --production +get-player-dependencies: + crystal run scripts/fetch-player-dependencies.cr + # TODO: add support for ARM64 via cross-compilation invidious: get-libs - crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace + crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace -Dskip_videojs_download run: invidious