class Fastlane::Actions::U3dAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/u3d/actions/u3d_action.rb, line 54 def self.available_options [ FastlaneCore::ConfigItem.new(key: :unity_version, env_name: "U3D_VERSION", description: "Unity version", optional: true, type: String), FastlaneCore::ConfigItem.new(key: :raw_logs, # env_name: "U3D_YOUR_OPTION", description: "Disable u3d log parsing", default_value: false, optional: true, is_string: false), FastlaneCore::ConfigItem.new(key: :run_args, # env_name: "U3D_YOUR_OPTION", description: "U3d run arguments", optional: false, type: String) ] end
description()
click to toggle source
# File lib/fastlane/plugin/u3d/actions/u3d_action.rb, line 38 def self.description "Fastgame's u3d (a Unity3d CLI) integration" end
details()
click to toggle source
# File lib/fastlane/plugin/u3d/actions/u3d_action.rb, line 50 def self.details "Allows to invoke the various u3d functions from within a Fastlane project." end
is_supported?(platform)
click to toggle source
# File lib/fastlane/plugin/u3d/actions/u3d_action.rb, line 75 def self.is_supported?(platform) true end
return_value()
click to toggle source
# File lib/fastlane/plugin/u3d/actions/u3d_action.rb, line 46 def self.return_value # If your method provides a return value, you can describe here what it does end
run(params)
click to toggle source
# File lib/fastlane/plugin/u3d/actions/u3d_action.rb, line 30 def self.run(params) options = params._values run_args = Shellwords.split(options.delete(:run_args)) # fastlane adds its own timestamping ::U3dCore::Globals.log_timestamps = false ::U3d::Commands.run(options: options, run_args: run_args) end