xcodeproj 1.11.1 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcodeproj/gem_version.rb +1 -1
- data/lib/xcodeproj/project/object/build_phase.rb +29 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa940904701915ca389aa029cd0461eb3e22961e3e1270352a73d2153254dd05
|
4
|
+
data.tar.gz: d364a28dc939e3491bef4c5d15fa209ab61b760160a7fadae4fe94b500ae7b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5e998ccd7775c02480df2a62cb62251f1be370088c10271445c80af9d824bdfbd911d9d4d34e4c9b571966d5584d2f724fed62b6aa651959bf9d87bd1fcb00c
|
7
|
+
data.tar.gz: 14dca20cc3e3032e8157f5722b02ccd8d99ede9219241061bda616646cd14cd2f6277b0ec533b5e0184f1a028406a6f120e192be459cb91aedd01ed452756421
|
@@ -204,6 +204,19 @@ module Xcodeproj
|
|
204
204
|
#
|
205
205
|
attribute :dst_subfolder_spec, String, Constants::COPY_FILES_BUILD_PHASE_DESTINATIONS[:resources]
|
206
206
|
|
207
|
+
# @return [Hash{String => Hash}] A hash suitable to display the build
|
208
|
+
# phase to the user.
|
209
|
+
#
|
210
|
+
def pretty_print
|
211
|
+
{
|
212
|
+
display_name => {
|
213
|
+
'Destination Path' => dst_path,
|
214
|
+
'Destination Subfolder' => Constants::COPY_FILES_BUILD_PHASE_DESTINATIONS.key(dst_subfolder_spec).to_s,
|
215
|
+
'Files' => files.map(&:pretty_print),
|
216
|
+
},
|
217
|
+
}
|
218
|
+
end
|
219
|
+
|
207
220
|
# Alias method for #dst_subfolder_spec=, which accepts symbol values
|
208
221
|
# instead of numeric string values.
|
209
222
|
#
|
@@ -287,6 +300,22 @@ module Xcodeproj
|
|
287
300
|
# the build log.
|
288
301
|
#
|
289
302
|
attribute :show_env_vars_in_log, String
|
303
|
+
|
304
|
+
# @return [Hash{String => Hash}] A hash suitable to display the build
|
305
|
+
# phase to the user.
|
306
|
+
#
|
307
|
+
def pretty_print
|
308
|
+
{
|
309
|
+
display_name => {
|
310
|
+
'Input File List Paths' => input_file_list_paths || [],
|
311
|
+
'Input Paths' => input_paths || [],
|
312
|
+
'Output File List Paths' => output_file_list_paths || [],
|
313
|
+
'Output Paths' => output_paths || [],
|
314
|
+
'Shell Path' => shell_path,
|
315
|
+
'Shell Script' => shell_script,
|
316
|
+
},
|
317
|
+
}
|
318
|
+
end
|
290
319
|
end
|
291
320
|
|
292
321
|
#-----------------------------------------------------------------------#
|