lib/gym/build_command_generator.rb in gym-0.4.6 vs lib/gym/build_command_generator.rb in gym-0.5.0
- old
+ new
@@ -74,9 +74,10 @@
end
@build_path
end
def archive_path
+ @archive_path ||= Gym.config[:archive_path]
unless @archive_path
file_name = [Gym.config[:output_name], Time.now.strftime("%F %H.%M.%S")] # e.g. 2015-08-07 14.49.12
@archive_path = File.join(build_path, file_name.join(" ") + ".xcarchive")
end
return @archive_path