require 'motion-sqlite3/version' unless defined?(Motion::Project::Config) raise "This file must be required within a RubyMotion project Rakefile." end Motion::Project::App.setup do |app| Dir.glob(File.join(File.dirname(__FILE__), "motion-sqlite3/**/*.rb")).each do |file| app.files.unshift(file) end app.libs << "/usr/lib/libsqlite3.dylib" vendor_dir = File.expand_path(File.join(File.dirname(__FILE__), "../vendor/sqlite3")) app.vendor_project(vendor_dir, :static, :products => []) end