Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated tools with build logs to use common configured Logs directory. #5881

Merged
merged 1 commit into from Aug 26, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastlane/lib/fastlane/actions/xcodebuild.rb
Expand Up @@ -146,7 +146,7 @@ def self.run(params)
end

# By default we put xcodebuild.log in the Logs folder
buildlog_path ||= File.expand_path("~/Library/Logs/fastlane/xcbuild/#{Time.now.strftime('%F')}/#{Process.pid}")
buildlog_path ||= File.expand_path("#{FastlaneCore::Helper.buildlog_path}/fastlane/xcbuild/#{Time.now.strftime('%F')}/#{Process.pid}")

# Joins args into space delimited string
xcodebuild_args = xcodebuild_args.join(" ")
Expand Down
2 changes: 1 addition & 1 deletion gym/lib/gym/options.rb
Expand Up @@ -152,7 +152,7 @@ def self.plain_options
short_option: "-l",
env_name: "GYM_BUILDLOG_PATH",
description: "The directory where to store the build log",
default_value: "~/Library/Logs/gym"),
default_value: "#{FastlaneCore::Helper.buildlog_path}/gym"),
FastlaneCore::ConfigItem.new(key: :sdk,
short_option: "-k",
env_name: "GYM_SDK",
Expand Down
2 changes: 1 addition & 1 deletion scan/lib/scan/options.rb
Expand Up @@ -96,7 +96,7 @@ def self.available_options
short_option: "-l",
env_name: "SCAN_BUILDLOG_PATH",
description: "The directory were to store the raw log",
default_value: "~/Library/Logs/scan"),
default_value: "#{FastlaneCore::Helper.buildlog_path}/scan"),
FastlaneCore::ConfigItem.new(key: :formatter,
short_option: "-n",
env_name: "SCAN_FORMATTER",
Expand Down
2 changes: 1 addition & 1 deletion snapshot/lib/snapshot/options.rb
Expand Up @@ -111,7 +111,7 @@ def self.available_options
short_option: "-l",
env_name: "SNAPSHOT_BUILDLOG_PATH",
description: "The directory where to store the build log",
default_value: "~/Library/Logs/snapshot"),
default_value: "#{FastlaneCore::Helper.buildlog_path}/snapshot"),
FastlaneCore::ConfigItem.new(key: :clean,
short_option: "-c",
env_name: "SNAPSHOT_CLEAN",
Expand Down