lib/motion-sqlite3.rb
require 'motion-sqlite3/version'
require 'motion.h'
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 << '-lsqlite3'
app.include "sqlite3.h"
end