lib/faastruby/cli/commands/function/build.rb in faastruby-0.4.17 vs lib/faastruby/cli/commands/function/build.rb in faastruby-0.4.18
- old
+ new
@@ -50,9 +50,14 @@
end
private
def build(source, output_file)
+ spinner = spin("Running 'before_deploy' tasks...")
+ @yaml_config['before_deploy']&.each do |command|
+ puts `#{command}`
+ end
+ spinner.stop(' Done!')
self.class.build(source, output_file)
end
def shards_install
puts '[build] Verifying dependencies'