-
Notifications
You must be signed in to change notification settings - Fork 23
/
Rakefile
34 lines (29 loc) · 844 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'MotionData'
app.files = %w{
lib/motion_data/schema.rb
lib/motion_data/store_coordinator.rb
lib/motion_data/context.rb
lib/motion_data/predicate.rb
lib/motion_data/managed_object.rb
lib/motion_data/scope.rb
app/test_models.rb
app/app_delegate.rb
}
app.frameworks += %w{ CoreData }
app.vendor_project('vendor/motion_data/ext', :static)
end
task 'spec' do
# This addition to the 'spec' task will close the simulator after tests run
# if there are no errors
sh "osascript -e 'tell application \"iphone simulator\" to quit'"
end
namespace :spec do
desc "Auto-run specs"
task :kick do
sh "bundle exec kicker -c"
end
end