class Fastlane::Actions::RenameAssetsAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/rename_assets_action.rb, line 29 def self.available_options [ ] end
description()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/rename_assets_action.rb, line 12 def self.description "Renames assets, generates an assets.dart file to reference them." end
details()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/rename_assets_action.rb, line 24 def self.details # Optional: "" end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/rename_assets_action.rb, line 35 def self.is_supported?(platform) # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example) # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform # # [:ios, :mac, :android].include?(platform) true end
return_value()
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/rename_assets_action.rb, line 20 def self.return_value # If your method provides a return value, you can describe here what it does end
run(options)
click to toggle source
# File lib/fastlane/plugin/sunny_project/actions/rename_assets_action.rb, line 8 def self.run(options) Sunny.exec_cmd("dart asset_renamer.dart", "dart tools/asset_renamer.dart") end