From 89c8b4d2cb987f5e6dcf94d0df32e9a484fe5228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Thu, 11 Dec 2014 20:25:54 +0100 Subject: [PATCH] [WatchKit] Update template for new IB gem. --- .../project/template/ios-watch-extension/files/Gemfile | 2 +- .../project/template/ios-watch-extension/files/Rakefile.erb | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/motion/project/template/ios-watch-extension/files/Gemfile b/lib/motion/project/template/ios-watch-extension/files/Gemfile index f62accc8..79ec7c1f 100644 --- a/lib/motion/project/template/ios-watch-extension/files/Gemfile +++ b/lib/motion/project/template/ios-watch-extension/files/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' gem 'rake' +gem 'ib', '>= 0.7.0' # Add your dependencies here: -gem 'ib' \ No newline at end of file diff --git a/lib/motion/project/template/ios-watch-extension/files/Rakefile.erb b/lib/motion/project/template/ios-watch-extension/files/Rakefile.erb index da0b32e0..d5623d71 100644 --- a/lib/motion/project/template/ios-watch-extension/files/Rakefile.erb +++ b/lib/motion/project/template/ios-watch-extension/files/Rakefile.erb @@ -11,3 +11,9 @@ end Motion::Project::App.setup do |app| # Use `rake config' to see complete project settings. end + +require 'ib/tasks' + +IB::RakeTask.new do |project| + project.resource_directories = ['watch_app'] +end