ios_ci 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/commands/build_app.rb +5 -1
- data/lib/model/params.rb +1 -1
- metadata +1 -1
data/lib/commands/build_app.rb
CHANGED
@@ -8,7 +8,7 @@ class BuildApp < BaseCommand
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def main_command
|
11
|
-
"cd #{@params.source_root} && xcodebuild #{build_args} -sdk #{@params.architecture} -configuration #{@params.configuration} clean build"
|
11
|
+
"cd #{@params.source_root} && xcodebuild #{build_args} -sdk #{@params.architecture} -configuration #{@params.configuration} clean build CONFIGURATION_BUILD_DIR=#{build_dir}"
|
12
12
|
end
|
13
13
|
|
14
14
|
def after_command
|
@@ -25,6 +25,10 @@ class BuildApp < BaseCommand
|
|
25
25
|
"-scheme '#{@params.scheme}' -workspace '#{@params.workspace}'"
|
26
26
|
end
|
27
27
|
|
28
|
+
def build_dir
|
29
|
+
"#{@params.source_root}/#{@params.build_path}/#{@params.configuration}-#{@params.architecture}"
|
30
|
+
end
|
31
|
+
|
28
32
|
def cocoapods?
|
29
33
|
File.exist?("#{@params.source_root}/Podfile")
|
30
34
|
end
|
data/lib/model/params.rb
CHANGED