abuse-the-force/Rakefile
ViViDboarder c14df49aec Add gem build and install to Rakefile
Now install with: rake install
2013-11-22 16:43:26 -08:00

18 lines
364 B
Ruby

$:.push File.expand_path('../lib', __FILE__)
require 'rake/testtask'
require 'abusetheforce/version'
Rake::TestTask.new do |t|
t.libs << 'test'
end
task :default => :build
desc "Build the gem"
task :build do
system "gem build abusetheforce.gemspec"
end
task :install => [:build] do
system "gem install abusetheforce-#{AbuseTheForce::VERSION}.gem"
end