lib/rspec/terraspace/project.rb in rspec-terraspace-0.1.0 vs lib/rspec/terraspace/project.rb in rspec-terraspace-0.2.0
- old
+ new
@@ -14,18 +14,19 @@
@remove_test_folder = options[:remove_test_folder].nil? ? true : options[:remove_test_folder]
end
def create
+ puts "Building test harness at: #{build_dir}"
clean
build_project
build_config
build_modules
build_stacks
build_tfvars
build_folders
- puts "Test harness built: #{build_dir}"
+ puts "Test harness built."
build_dir
end
# folders at any-level, including top-level can be copied with the folders option
def build_folders
@@ -41,10 +42,10 @@
def build_project
parent_dir = File.dirname(build_dir)
FileUtils.mkdir_p(parent_dir)
Dir.chdir(parent_dir) do
project_name = File.basename(build_dir)
- ::Terraspace::CLI::New::Project.start([project_name, "--no-config"])
+ ::Terraspace::CLI::New::Project.start([project_name, "--no-config", "--quiet"])
end
end
def build_config
return unless @config