Class: Fastlane::Actions::CleanBuildArtifactsAction
Constant Summary
Fastlane::Action::AVAILABLE_CATEGORIES, Fastlane::Action::RETURN_TYPES
Class Method Summary
collapse
action_name, authors, deprecated_notes, lane_context, method_missing, other_action, output, return_type, return_value, sample_return_value, shell_out_should_use_bundle_exec?, step_text
Class Method Details
.author ⇒ Object
52
53
54
|
# File 'fastlane/lib/fastlane/actions/clean_build_artifacts.rb', line 52
def self.author
"lmirosevic"
end
|
.available_options ⇒ Object
30
31
32
33
34
35
36
37
38
|
# File 'fastlane/lib/fastlane/actions/clean_build_artifacts.rb', line 30
def self.available_options
[
FastlaneCore::ConfigItem.new(key: :exclude_pattern,
env_name: "FL_CLEAN_BUILD_ARTIFACTS_EXCLUDE_PATTERN",
description: "Exclude all files from clearing that match the given Regex pattern: e.g. '.*\.mobileprovision'",
default_value: nil,
optional: true)
]
end
|
.category ⇒ Object
66
67
68
|
# File 'fastlane/lib/fastlane/actions/clean_build_artifacts.rb', line 66
def self.category
:misc
end
|
.description ⇒ Object
40
41
42
|
# File 'fastlane/lib/fastlane/actions/clean_build_artifacts.rb', line 40
def self.description
"Deletes files created as result of running gym, cert, sigh or download_dsyms"
end
|
.details ⇒ Object
44
45
46
47
48
49
50
|
# File 'fastlane/lib/fastlane/actions/clean_build_artifacts.rb', line 44
def self.details
[
"This action deletes the files that get created in your repo as a result of running the _gym_ and _sigh_ commands. It doesn't delete the `fastlane/report.xml` though, this is probably more suited for the .gitignore.",
"",
"Useful if you quickly want to send out a test build by dropping down to the command line and typing something like `fastlane beta`, without leaving your repo in a messy state afterwards."
].join("\n")
end
|
.example_code ⇒ Object
60
61
62
63
64
|
# File 'fastlane/lib/fastlane/actions/clean_build_artifacts.rb', line 60
def self.example_code
[
'clean_build_artifacts'
]
end
|
.is_supported?(platform) ⇒ Boolean
56
57
58
|
# File 'fastlane/lib/fastlane/actions/clean_build_artifacts.rb', line 56
def self.is_supported?(platform)
[:ios, :mac].include?(platform)
end
|