class Fastlane::Actions::RemoveXliffArtifactsAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/generate_xliff/actions/remove_xliff_artifacts_action.rb, line 27 def self.available_options [ FastlaneCore::ConfigItem.new(key: :language_file_path, env_name: "LANGUAGE_FILE_PATH", description: "Langage file to upload in POEditor", optional: false, type: String), ] end
description()
click to toggle source
# File lib/fastlane/plugin/generate_xliff/actions/remove_xliff_artifacts_action.rb, line 11 def self.description "Generates XLIFF file" end
details()
click to toggle source
# File lib/fastlane/plugin/generate_xliff/actions/remove_xliff_artifacts_action.rb, line 23 def self.details "Removes file" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/generate_xliff/actions/remove_xliff_artifacts_action.rb, line 37 def self.is_supported?(platform) true end
return_value()
click to toggle source
# File lib/fastlane/plugin/generate_xliff/actions/remove_xliff_artifacts_action.rb, line 19 def self.return_value end
run(params)
click to toggle source
# File lib/fastlane/plugin/generate_xliff/actions/remove_xliff_artifacts_action.rb, line 4 def self.run(params) file = params[:language_file_path] FileUtils.rm file, :force => true UI.message("Removing #{file}") end