lib/gym/generators/build_command_generator.rb in gym-0.7.3 vs lib/gym/generators/build_command_generator.rb in gym-0.8.0
- old
+ new
@@ -66,10 +66,10 @@
["| tee '#{xcodebuild_log_path}' | xcpretty"]
end
def xcodebuild_log_path
file_name = "#{Gym.project.app_name}-#{Gym.config[:scheme]}.log"
- containing = File.expand_path("~/Library/Logs/gym")
+ containing = File.expand_path(Gym.config[:buildlog_path])
FileUtils.mkdir_p(containing)
return File.join(containing, file_name)
end