Merge pull request #2397 from syeopite/dep-manager-for-videojs-stuff

Add dependency manager script for videojs stuff
This commit is contained in:
Samantaz Fox 2022-01-28 15:30:13 +01:00 committed by GitHub
commit eba311baa9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 276 additions and 52854 deletions

View file

@ -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