buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Shahid <jvsha...@gmail.com>
Subject Why are test dependencies added to runtime dependencies
Date Sun, 16 Jan 2011 03:53:24 GMT
Hey all,

I came across lines 174-177 in lib/buildr/run.rb

     after_define(:run => :test) do |project|
       project.run.with project.test.compile.dependencies
       project.run.with project.test.compile.target if 
project.test.compile.target
     end

My question is why are the dependencies used in compiling the tests 
added to the run task ?

Mime
View raw message