summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2007-01-13 20:21:03 +0000
committerJamis Buck <jamis@37signals.com>2007-01-13 20:21:03 +0000
commite24a85880a026bfc968691b02a2e6135dd271800 (patch)
tree2105b48c5ea2b2fd79c5a5238b860171df3e5abb /Rakefile
parente6057f855ca1755f3b3062b9a56d9f3962dcd80f (diff)
downloadthird_party-sqlite3-ruby-e24a85880a026bfc968691b02a2e6135dd271800.tar.gz
third_party-sqlite3-ruby-e24a85880a026bfc968691b02a2e6135dd271800.tar.xz
third_party-sqlite3-ruby-e24a85880a026bfc968691b02a2e6135dd271800.zip
Add a 'build' task for more easily building the native extension
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 25cf11a..1845b3a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -172,3 +172,11 @@ end
desc "Publish the documentation"
task :pubdoc => [:pubrdoc, :pubfaq]
+
+desc "Build the Native extension"
+task :build do
+ cd 'ext/sqlite3_api' do
+ ruby 'extconf.rb'
+ system 'make'
+ end
+end