gym 0.7.3 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gym/generators/build_command_generator.rb +1 -1
- data/lib/gym/generators/package_command_generator.rb +0 -2
- data/lib/gym/generators/package_command_generator_xcode7.rb +1 -1
- data/lib/gym/manager.rb +5 -0
- data/lib/gym/options.rb +5 -2
- data/lib/gym/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 099aa893503965b03f44b2ea03f2b3c6d224a0b4
|
4
|
+
data.tar.gz: 3e8b6067bf33fe938ae50bb7eaed8da969c9420e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 059f7b33d13250aec59a2dcbe18c65b58a20e0519acb87a908a14d97a23c787153901bfbd485fb57ac2c67df239747f9ff1d0d2fe71926c4cc4ddf4730df648f
|
7
|
+
data.tar.gz: 298d860fac3afc21dcf38ca238c43901f42039f284d00aa519b9a8bbdff4a3ae94a9f9c535ee7e40675c0422af9974bfe99032c6635f52068ab47eaa73f5fa4b
|
@@ -68,7 +68,7 @@ module Gym
|
|
68
68
|
|
69
69
|
def xcodebuild_log_path
|
70
70
|
file_name = "#{Gym.project.app_name}-#{Gym.config[:scheme]}.log"
|
71
|
-
containing = File.expand_path(
|
71
|
+
containing = File.expand_path(Gym.config[:buildlog_path])
|
72
72
|
FileUtils.mkdir_p(containing)
|
73
73
|
|
74
74
|
return File.join(containing, file_name)
|
@@ -38,7 +38,7 @@ module Gym
|
|
38
38
|
path = Dir[File.join(temporary_output_path, "*.ipa")].last
|
39
39
|
|
40
40
|
@ipa_path = File.join(temporary_output_path, "#{Gym.config[:output_name]}.ipa")
|
41
|
-
FileUtils.mv(path, @ipa_path) if File.expand_path(path) != File.expand_path(@ipa_path)
|
41
|
+
FileUtils.mv(path, @ipa_path) if File.expand_path(path).downcase != File.expand_path(@ipa_path).downcase
|
42
42
|
end
|
43
43
|
@ipa_path
|
44
44
|
end
|
data/lib/gym/manager.rb
CHANGED
@@ -17,6 +17,11 @@ module Gym
|
|
17
17
|
rows << ["Workspace", config[:workspace]] if config[:workspace]
|
18
18
|
rows << ["Scheme", config[:scheme]] if config[:scheme]
|
19
19
|
rows << ["Configuration", config[:configuration]] if config[:configuration]
|
20
|
+
|
21
|
+
if PackageCommandGenerator.generator == PackageCommandGeneratorXcode7
|
22
|
+
rows << ["Export Method", config[:export_method]]
|
23
|
+
end
|
24
|
+
|
20
25
|
rows << ["Archive Path", config[:archive_path]] if config[:archive_path]
|
21
26
|
rows << ["Platform", Gym.project.ios? ? "iOS" : "Mac"]
|
22
27
|
rows << ["Xcode Path", Xcode.xcode_path.gsub("/Contents/Developer", "")]
|
data/lib/gym/options.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require "fastlane_core"
|
2
2
|
require "credentials_manager"
|
3
3
|
|
4
|
-
# rubocop:disable Metrics/AbcSize
|
5
4
|
module Gym
|
6
5
|
class Options
|
7
6
|
def self.available_options
|
@@ -63,6 +62,11 @@ module Gym
|
|
63
62
|
verify_block: proc do |value|
|
64
63
|
value.gsub!(".ipa", "")
|
65
64
|
end),
|
65
|
+
FastlaneCore::ConfigItem.new(key: :buildlog_path,
|
66
|
+
short_option: "-l",
|
67
|
+
env_name: "GYM_BUILDLOG_PATH",
|
68
|
+
description: "The directory were to store the build log",
|
69
|
+
default_value: "~/Library/Logs/gym"),
|
66
70
|
FastlaneCore::ConfigItem.new(key: :sdk,
|
67
71
|
short_option: "-k",
|
68
72
|
env_name: "GYM_SDK",
|
@@ -147,4 +151,3 @@ module Gym
|
|
147
151
|
end
|
148
152
|
end
|
149
153
|
end
|
150
|
-
# rubocop:enable Metrics/AbcSize
|
data/lib/gym/version.rb
CHANGED