Class: Pbind::Command::Watch
- Inherits:
-
Pbind::Command
- Object
- CLAide::Command
- Pbind::Command
- Pbind::Command::Watch
- Defined in:
- lib/pbind/command/watch.rb
Instance Method Summary collapse
Methods inherited from Pbind::Command
#initialize, options, report_error, #verify_project_exists
Constructor Details
This class inherits a constructor from Pbind::Command
Instance Method Details
#run ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/pbind/command/watch.rb', line 28 def run @src_name = 'PBLiveLoader' @api_name = 'PBLocalhost' @src_key = 'PBResourcesPath' @project_root = File.dirname(@project_path) @src_install_dir = File.absolute_path(File.join(@project_root, @src_name)) @api_install_dir = File.absolute_path(File.join(@project_root, @api_name)) @project = Xcodeproj::Project.open(@project_path) @changed = false install_sources # add_plist_entries add_group_references super end |
#validate! ⇒ Object
24 25 26 |
# File 'lib/pbind/command/watch.rb', line 24 def validate! verify_project_exists end |