On Mar 18, 2010, at 12:12 PM, jw wrote: > I get that you create dependencies on a normal rake task like this: > > task :codeGen do > # do the code generation > end > > task :compile => :codeGen do > # do the compilation > end > > > but what is the syntax for a specTask? > > Spec::Rake::SpecTask.new('task1a') do |t| > # t.spec_files = ... > end > > You can create a (redundant) standard rake task: > > task :task1b => 'task1a' do > # just runs task1a > end > > but that sure seems unnecessary. There's got to be a way to do this, right?
Just call "task1a" directly. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users