Print message when VideoJS deps are satisfied

This commit is contained in:
syeopite 2021-09-11 22:23:19 -07:00
parent 262131f68e
commit f47b588b91
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
1 changed files with 8 additions and 4 deletions

View File

@ -143,10 +143,14 @@ dependencies_to_install.each do |dep|
end
end
puts "#{"Resolving".colorize(:green)} #{"VideoJS".colorize(:blue)} dependencies"
dependencies_to_install.size.times do
result = channel.receive
puts "#{"Fetched".colorize(:green)} #{result.colorize(:blue)}"
if dependencies_to_install.empty?
puts "#{"VideoJS".colorize(:blue)} #{"dependencies".colorize(:green)} are satisfied"
else
puts "#{"Resolving".colorize(:green)} #{"VideoJS".colorize(:blue)} dependencies"
dependencies_to_install.size.times do
result = channel.receive
puts "#{"Fetched".colorize(:green)} #{result.colorize(:blue)}"
end
end
# Cleanup