Class: Fastlane::Helper::Deprecated
- Inherits:
-
Object
- Object
- Fastlane::Helper::Deprecated
- Defined in:
- lib/fastlane/plugin/wpmreleasetoolkit/helper/deprecated.rb
Overview
A helper class to store deprecated methods and actions
Class Method Summary collapse
-
.project_name_config_item ⇒ FastlaneCore::ConfigItem
Creates a project_root_folder Fastlane ConfigItem.
-
.project_root_folder_config_item ⇒ FastlaneCore::ConfigItem
Creates a project_root_folder Fastlane ConfigItem.
Class Method Details
.project_name_config_item ⇒ FastlaneCore::ConfigItem
Creates a project_root_folder Fastlane ConfigItem
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/helper/deprecated.rb', line 29 def self.project_name_config_item verify_block = proc do UI.deprecated('DEPRECATED: The PROJECT_NAME environment variable and config item are deprecated and will be removed in a future version of the Release Toolkit. Please provide a full path instead.') end FastlaneCore::ConfigItem.new( key: :project_name, env_name: 'PROJECT_NAME', description: 'The app project name', deprecated: true, optional: true, verify_block: verify_block, type: String ) end |
.project_root_folder_config_item ⇒ FastlaneCore::ConfigItem
Creates a project_root_folder Fastlane ConfigItem
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/fastlane/plugin/wpmreleasetoolkit/helper/deprecated.rb', line 9 def self.project_root_folder_config_item verify_block = proc do UI.deprecated('DEPRECATED: The PROJECT_ROOT_FOLDER environment variable and config item are deprecated and will be removed in a future version of the Release Toolkit. Please provide a full path instead.') end FastlaneCore::ConfigItem.new( key: :project_root_folder, env_name: 'PROJECT_ROOT_FOLDER', description: 'The path to the project root folder', deprecated: true, optional: true, verify_block: verify_block, type: String ) end |