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