diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-15 15:26:36 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2013-11-15 15:26:36 -0800 |
commit | 386668e41e847aadfe2d3fb6fd8126b6372356b4 (patch) | |
tree | 76f44245affe9e91a9b97a0d6490af306f5f1479 /Rakefile | |
parent | 35f8a815c09d808d165146617cfee6ab582da901 (diff) | |
download | ffi-yajl-386668e41e847aadfe2d3fb6fd8126b6372356b4.tar.gz |
add install/clean tasks
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |