Method: Lono::AppFile::Build#compress_output

Defined in:
lib/lono/app_file/build.rb

#compress_outputObject



48
49
50
51
52
53
54
55
56
57
# File 'lib/lono/app_file/build.rb', line 48

def compress_output
  Registry.items.each do |item|
    # type can be lambda_layer or file
    if item.type == "lambda_layer" || item.exist?
      zip(item)
    else
      puts "WARN: #{item.src_path} does not exist. Double check that the path is correct in the s3_key call.".color(:yellow)
    end
  end
end