summaryrefslogtreecommitdiffstats
path: root/src/invidious.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/invidious.cr')
-rw-r--r--src/invidious.cr12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 01cfcae3..8ba62503 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -129,6 +129,18 @@ if CONFIG.check_tables
end
end
+# Resolve player dependencies. This is done at compile time.
+#
+# Running the script by itself would show some colorful feedback while this doesn't.
+# Perhaps we should just move the script to runtime in order to get that feedback?
+
+{% puts "\nChecking player dependencies...\n" %}
+{% if flag?(:minified_player_dependencies) %}
+ {% puts run("../scripts/fetch-player-dependencies.cr", "--minified").stringify %}
+{% else %}
+ {% puts run("../scripts/fetch-player-dependencies.cr").stringify %}
+{% end %}
+
# Start jobs
if CONFIG.channel_threads > 0