lib/jets/commands/build.rb in jets-1.0.18 vs lib/jets/commands/build.rb in jets-1.1.0

- old
+ new

@@ -1,10 +1,9 @@ require 'digest' module Jets::Commands class Build - include Jets::Timing include StackInfo def initialize(options) @options = options.dup end @@ -15,29 +14,25 @@ # run gets called from the CLI and does not have all the stack_options yet. # We compute it and change the options early here. @options.merge!(stack_type: stack_type, s3_bucket: s3_bucket) build end - time :run def build build_code unless @options[:templates] build_templates end - time :build def build_code Jets::Builders::CodeBuilder.new.build unless @options[:noop] end - time :build_code def build_templates puts "Building CloudFormation templates." clean_templates build_minimal_template build_all_templates if full? end - time :build_templates def full? @options[:templates] || @options[:stack_type] == :full end