summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-11-15 15:26:36 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2013-11-15 15:26:36 -0800
commit386668e41e847aadfe2d3fb6fd8126b6372356b4 (patch)
tree76f44245affe9e91a9b97a0d6490af306f5f1479 /Rakefile
parent35f8a815c09d808d165146617cfee6ab582da901 (diff)
downloadffi-yajl-386668e41e847aadfe2d3fb6fd8126b6372356b4.tar.gz
add install/clean tasks
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 501ffed..2bb3923 100644
--- a/Rakefile
+++ b/Rakefile
@@ -22,4 +22,14 @@ task :ship => [:clean, :gem] do
end
end
+desc "install the gem locally"
+task :install => [:package] do
+ sh %{gem install pkg/#{gem_spec.name}-#{gem_spec.version}}
+end
+
+desc "remove build files"
+task :clean do
+ sh %Q{ rm -f pkg/*.gem }
+end
+
task :default => :spec