forked from rubymotion-community/motion-support
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
executable file
·33 lines (27 loc) · 868 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
#!/usr/bin/env rake
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
require "bundler/gem_tasks"
Bundler.setup
Bundler.require
require 'motion-support'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'MotionSupport'
app.detect_dependencies = false
app.sdk_version = '10.3'
app.deployment_target = '9.0'
files = [
File.expand_path('motion-support/motion/_stdlib/date.rb'),
File.expand_path('motion-support/motion/_stdlib/array.rb'),
File.expand_path('motion-support/motion/_stdlib/cgi.rb'),
File.expand_path('motion-support/motion/_stdlib/time.rb'),
File.expand_path('motion-support/motion/_stdlib/enumerable.rb')
]
files.each do |f|
app.ordered_build_files.delete(f)
end
files.each do |f|
app.ordered_build_files.unshift(f)
end
end