Rakefile in squall-1.3.0 vs Rakefile in squall-1.3.1
- old
+ new
@@ -1,18 +1,12 @@
-require 'bundler'
-require 'uri'
begin
+ require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
+ require 'rake-tomdoc' unless RUBY_PLATFORM == 'java'
rescue LoadError
- puts "Please install rspec (bundle install)"
- exit
+ abort "Please run `bundle install` first"
end
RSpec::Core::RakeTask.new :spec
Bundler::GemHelper.install_tasks
-
-desc "Open an irb session preloaded with this library"
-task :console do
- sh "irb -rubygems -r ./lib/squall.rb -I ./lib"
-end
task :default => [:spec]