Sha256: d461cbb691664488017a2f1f306a8ba95b3397e45f89e01b7cf97495f8100e65
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
require 'bundler' require 'uri' begin require 'rspec/core/rake_task' rescue LoadError puts "Please install rspec (bundle install)" exit end begin require 'metric_fu' MetricFu::Configuration.run do |config| config.rcov[:rcov_opts] << "-Ispec" end rescue LoadError end RSpec::Core::RakeTask.new :spec Bundler::GemHelper.install_tasks desc "Run all specs with rcov" RSpec::Core::RakeTask.new(:rcov) do |t| t.rcov = true t.rcov_opts = %w{--exclude osx\/objc,gems\/,spec\/,features\/} end 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]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
squall-1.2.0beta1 | Rakefile |
squall-1.1.0 | Rakefile |