Method: Fastlane::Actions::PodPushAction.available_options

Defined in:
fastlane/lib/fastlane/actions/pod_push.rb

.available_optionsObject



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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# File 'fastlane/lib/fastlane/actions/pod_push.rb', line 83

def self.available_options
  [
    FastlaneCore::ConfigItem.new(key: :use_bundle_exec,
                                   description: "Use bundle exec when there is a Gemfile presented",
                                   type: Boolean,
                                   default_value: false,
                                   env_name: "FL_POD_PUSH_USE_BUNDLE_EXEC"),
    FastlaneCore::ConfigItem.new(key: :path,
                                 description: "The Podspec you want to push",
                                 optional: true,
                                 verify_block: proc do |value|
                                   UI.user_error!("Couldn't find file at path '#{value}'") unless File.exist?(value)
                                   UI.user_error!("File must be a `.podspec` or `.podspec.json`") unless value.end_with?(".podspec", ".podspec.json")
                                 end,
                                 env_name: "FL_POD_PUSH_PATH"),
    FastlaneCore::ConfigItem.new(key: :repo,
                                 description: "The repo you want to push. Pushes to Trunk by default",
                                 optional: true,
                                 env_name: "FL_POD_PUSH_REPO"),
    FastlaneCore::ConfigItem.new(key: :allow_warnings,
                                 description: "Allow warnings during pod push",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_ALLOW_WARNINGS"),
    FastlaneCore::ConfigItem.new(key: :use_libraries,
                                 description: "Allow lint to use static libraries to install the spec",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_USE_LIBRARIES"),
    FastlaneCore::ConfigItem.new(key: :sources,
                                 description: "The sources of repos you want the pod spec to lint with, separated by commas",
                                 optional: true,
                                 type: Array,
                                 verify_block: proc do |value|
                                   UI.user_error!("Sources must be an array.") unless value.kind_of?(Array)
                                 end,
                                 env_name: "FL_POD_PUSH_SOURCES"),
    FastlaneCore::ConfigItem.new(key: :swift_version,
                                 description: "The SWIFT_VERSION that should be used to lint the spec. This takes precedence over a .swift-version file",
                                 optional: true,
                                 env_name: "FL_POD_PUSH_SWIFT_VERSION"),
    FastlaneCore::ConfigItem.new(key: :skip_import_validation,
                                 description: "Lint skips validating that the pod can be imported",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_SKIP_IMPORT_VALIDATION"),
    FastlaneCore::ConfigItem.new(key: :skip_tests,
                                 description: "Lint skips building and running tests during validation",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_SKIP_TESTS"),
    FastlaneCore::ConfigItem.new(key: :use_json,
                                 description: "Convert the podspec to JSON before pushing it to the repo",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_USE_JSON"),
    FastlaneCore::ConfigItem.new(key: :verbose,
                                 description: "Show more debugging information",
                                 optional: true,
                                 type: Boolean,
                                 default_value: false,
                                 env_name: "FL_POD_PUSH_VERBOSE"),
    FastlaneCore::ConfigItem.new(key: :use_modular_headers,
                                 description: "Use modular headers option during validation",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_USE_MODULAR_HEADERS"),
    FastlaneCore::ConfigItem.new(key: :synchronous,
                                 description: "If validation depends on other recently pushed pods, synchronize",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_SYNCHRONOUS"),
    FastlaneCore::ConfigItem.new(key: :no_overwrite,
                                 description: "Disallow pushing that would overwrite an existing spec",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_NO_OVERWRITE"),
    FastlaneCore::ConfigItem.new(key: :local_only,
                                 description: "Does not perform the step of pushing REPO to its remote",
                                 optional: true,
                                 type: Boolean,
                                 env_name: "FL_POD_PUSH_LOCAL_ONLY")
  ]
end