Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 539 Bytes
require 'rake'
require 'rake/clean'
require 'rake/testtask'
CLEAN.include("**/*.gem", "**/*.rbc")
namespace :gem do
desc 'Build the hashslice gem'
task :create => [:clean] do
spec = eval('hashslice.gemspec'))
desc "Install the hashslice library as a gem"
task :install => [:create] do
file = Dir["*.gem"].first
sh "gem install #{file}"
end do |t|
t.warning = true
t.verbose = true
task :default => :test
Something went wrong with that request. Please try again.