lib/faastruby/cli/commands/function/deploy_to.rb in faastruby-0.5.21 vs lib/faastruby/cli/commands/function/deploy_to.rb in faastruby-0.5.22
- old
+ new
@@ -161,10 +161,11 @@
puts `#{command}`
end
spinner&.success
end
require 'faastruby/cli/commands/function/build'
- FaaStRuby::Command::Function::Build.build(source, output_file, @function_name, true)
+ exclude = crystal_runtime? ? ['handler', 'handler.dwarf'] : []
+ FaaStRuby::Command::Function::Build.build(source, output_file, @function_name, true, exclude: exclude)
@package_file.close
output_file
end
def parse_options