Class: Fastlane::Actions::BitriseCleanBcsymbolmapsAction

Inherits:
Action
  • Object
show all
Defined in:
lib/fastlane/plugin/bitrise_bcsymbolmaps/actions/bitrise_clean_bcsymbolmaps.rb

Class Method Summary collapse

Class Method Details

.authorsObject



13
14
15
# File 'lib/fastlane/plugin/bitrise_bcsymbolmaps/actions/bitrise_clean_bcsymbolmaps.rb', line 13

def self.authors
  ["Oleksandr Skrypnyk"]
end

.descriptionObject



9
10
11
# File 'lib/fastlane/plugin/bitrise_bcsymbolmaps/actions/bitrise_clean_bcsymbolmaps.rb', line 9

def self.description
  "Cleans up downloaded artifacts."
end

.is_supported?(platform) ⇒ Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/fastlane/plugin/bitrise_bcsymbolmaps/actions/bitrise_clean_bcsymbolmaps.rb', line 17

def self.is_supported?(platform)
  platform == :ios
end

.run(params) ⇒ Object



4
5
6
7
# File 'lib/fastlane/plugin/bitrise_bcsymbolmaps/actions/bitrise_clean_bcsymbolmaps.rb', line 4

def self.run(params)
  FileUtils.rm_rf Dir.glob(File.join(Dir.pwd, "BCSymbolMaps*"))
  FileUtils.rm_rf File.join(Dir.pwd, "fastlane", "BCSymbolmaps")
end