Rakefile in rm-extensions-0.1.5 vs Rakefile in rm-extensions-0.1.6
- old
+ new
@@ -1,15 +1,30 @@
require "bundler/gem_tasks"
+$:.unshift('/Library/RubyMotion/lib')
+if ENV.fetch('platform', 'ios') == 'ios'
+ require 'motion/project/template/ios'
+elsif ENV['platform'] == 'osx'
+ require 'motion/project/template/osx'
+else
+ raise "Unsupported platform #{ENV['platform']}"
+end
+require 'bundler'
+Bundler.require
+
+Motion::Project::App.setup do |app|
+ # Use `rake config' to see complete project settings.
+ app.name = 'rm-extensions'
+end