Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (18 sloc) 476 Bytes
require 'rake'
require 'rake/testtask'
require 'rake/gempackagetask'
task :default => [:test]
task :test => ['test:units']
namespace :test do
Rake::TestTask.new(:units) do |test|
test.libs << 'test'
test.ruby_opts << '-rubygems'
test.pattern = 'test/*.rb'
test.verbose = true
end
end
eval("$specification = begin; #{IO.read('alchemist.gemspec')}; end")
Rake::GemPackageTask.new($specification) do |package|
package.need_zip = true
package.need_tar = true
end
Something went wrong with that request. Please try again.