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

View file

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