Alexey Verkhovsky
4/10/2007 7:42:00 PM
On 4/10/07, Bret Pettichord <bret@pettichord.com> wrote:
> def rake
> # --nosearch flag here prevents CC.rb from building itself when a
> project has no Rakefile
> %{ruby -e "require 'rubygems' rescue nil; require 'rake'; load '#{
> File.expand_path(RAILS_ROOT)}/tasks/cc_build.rake'; ARGV <<
> '--nosearch'#{CruiseControl::Log.verbose? ? " << '--trace'" : ""} <<
> 'cc:build'; Rake.application.run"}
> end
Ugly, isn't it? :)
Alex