59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
# File 'lib/fastlane/plugin/act/actions/act_action.rb', line 59
def self.available_options
[
FastlaneCore::ConfigItem.new(key: :ipa,
env_name: "FACELIFT_IPA",
description: "Path of the IPA file being modified. Deprecated, use archive_path",
optional: true,
conflicting_options: [:archive_path],
conflict_block: proc do |value|
UI.user_error!("You can't use 'ipa' and 'archive_path' options in one run")
end,
type: String),
FastlaneCore::ConfigItem.new(key: :archive_path,
env_name: "FACELIFT_ARCHIVE_PATH",
description: "Path of the IPA or XCARCHIVE being modified",
optional: true,
conflicting_options: [:ipa],
conflict_block: proc do |value|
UI.user_error!("You can't use 'ipa' and 'archive_path' options in one run")
end,
type: String),
FastlaneCore::ConfigItem.new(key: :iconset,
description: "Path to iconset to swap into the IPA (ignores :plist option)",
optional: true,
type: String),
FastlaneCore::ConfigItem.new(key: :plist_file,
env_name: "FACELIFT_PLIST_FILE",
description: "The name of the plist file to modify, relative to the .app bundle`",
optional: true,
default_value: "Info.plist",
type: String),
FastlaneCore::ConfigItem.new(key: :plist_values,
description: "Hash of plist values to set to the plist file",
optional: true,
type: Hash),
FastlaneCore::ConfigItem.new(key: :plist_commands,
description: "Array of PlistBuddy commands to invoke",
optional: true,
type: Array),
FastlaneCore::ConfigItem.new(key: :app_name,
env_name: "FACELIFT_APP_NAME",
description: "The name of the .app file (including extension), will be extracted if not supplied",
optional: true,
type: String),
FastlaneCore::ConfigItem.new(key: :temp_dir,
env_name: "FACELIFT_TEMP_DIR",
description: "The temporary directory to work from. One will be created if not supplied",
optional: true,
type: String),
FastlaneCore::ConfigItem.new(key: :skip_delete_icons,
env_name: "FACELIFT_SKIP_DELETE_ICONS",
description: "When true, the old icon files will not be deleted from the archive",
optional: true,
default_value: false,
type: [TrueClass, FalseClass]),
FastlaneCore::ConfigItem.new(key: :replace_files,
description: "Files that should be replaced",
optional: true,
default_value: false,
type: Hash),
FastlaneCore::ConfigItem.new(key: :remove_files,
description: "Files that should be removed",
optional: true,
default_value: false,
type: Array)
]
end
|