buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Excluding groovy specs on jruby?
Date Sat, 03 Oct 2009 15:51:17 GMT
Any particular reason for excluding groovy specs for jruby?

  desc "Run all specs"
  Spec::Rake::SpecTask.new :spec=>'_reports' do |task|
    task.spec_files = FileList['spec/**/*_spec.rb']
    task.spec_files.exclude('spec/groovy/*') if RUBY_PLATFORM[/java/]   #
Alex:  WHY?
    task.spec_opts = %w{--format specdoc --format failing_examples:failed
--format html:_reports/specs.html --loadby mtime --backtrace}
    task.spec_opts << '--colour' if $stdout.isatty
  end

These tests pass for me...

alex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message