Permalink
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 228 Bytes
require 'bundler/gem_tasks'
require 'rake/testtask'
Rake::TestTask.new do |t|
t.libs << 'test'
end
# add build task as prerequisite task; tests depend on built gem
Rake::Task[:test].enhance [:build]
task :default => :build