Class: EmergeCLI::Commands::Config::OrderFilesIOS
- Inherits:
-
GlobalOptions
- Object
- Dry::CLI::Command
- GlobalOptions
- EmergeCLI::Commands::Config::OrderFilesIOS
- Defined in:
- lib/commands/config/orderfiles/orderfiles_ios.rb
Constant Summary collapse
- LINK_MAPS_CONFIG =
Constants
'LD_GENERATE_MAP_FILE'.freeze
- LINK_MAPS_PATH =
'LD_MAP_FILE_PATH'.freeze
- PATH_TO_LINKMAP =
'$(TARGET_TEMP_DIR)/$(PRODUCT_NAME)-LinkMap-$(CURRENT_VARIANT)-$(CURRENT_ARCH).txt'.freeze
- ORDER_FILE =
'ORDER_FILE'.freeze
- ORDER_FILE_PATH =
'$(PROJECT_DIR)/orderfiles/orderfile.txt'.freeze
Instance Method Summary collapse
Methods inherited from GlobalOptions
Instance Method Details
#call(**options) ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/commands/config/orderfiles/orderfiles_ios.rb', line 21 def call(**) @options = before() if @options[:project_path] project = Xcodeproj::Project.open(@options[:project_path]) else project = Xcodeproj::Project.open(Dir.glob('*.xcodeproj').first) Logger.warn 'No project path provided, using first found xcodeproj in current directory' end enable_linkmaps(project) add_order_files_download_script(project) unless @options[:skip_download_script] project.save end |