Class: Motion::Project::App
- Inherits:
-
Object
- Object
- Motion::Project::App
- Defined in:
- lib/motion/project/cocoapods.rb
Class Method Summary collapse
- .build_with_cocoapods(platform, opts = {}) ⇒ Object (also: build)
Class Method Details
.build_with_cocoapods(platform, opts = {}) ⇒ Object Also known as: build
48 49 50 51 52 53 54 |
# File 'lib/motion/project/cocoapods.rb', line 48 def build_with_cocoapods(platform, opts = {}) unless File.exist?(CocoaPods::PODS_ROOT) $stderr.puts "[!] No CocoaPods dependencies found in #{CocoaPods::PODS_ROOT}, run the `rake pod:install` task." exit 1 end build_without_cocoapods(platform, opts) end |