module RXCode
Constants
- VERSION
Public Class Methods
being_run_by_xcode?()
click to toggle source
# File lib/rxcode/tasks.rb, line 5 def self.being_run_by_xcode? ENV['XCODE_VERSION_ACTUAL'] != nil end
building_cocoa_framework?()
click to toggle source
# File lib/rxcode/tasks.rb, line 9 def self.building_cocoa_framework? ENV['PACKAGE_TYPE'] == 'com.apple.package-type.wrapper.framework' end
env()
click to toggle source
# File lib/rxcode/environment.rb, line 76 def self.env @env ||= Environment.new(Dir.pwd) end
framework(framework_name)
click to toggle source
# File lib/rxcode/macruby.rb, line 3 def self.framework(framework_name) if workspace = RXCode.env.workspace framework_path = File.join(workspace.built_products_dir, 'Debug', "#{framework_name}.framework") ::Kernel.framework(framework_path) else raise "Unable to determine current XCode workspace." end end
xcode_action()
click to toggle source
# File lib/rxcode/tasks.rb, line 13 def self.xcode_action ENV['ACTION'] end
xcode_preferences()
click to toggle source
# File lib/rxcode/preferences.rb, line 5 def self.xcode_preferences @preferences ||= Preferences.new end