Any way to force a rake task to run but skip its prereqs? Sometimes you
need to do this.
···
--
Posted via http://www.ruby-forum.com/.
Any way to force a rake task to run but skip its prereqs? Sometimes you
need to do this.
--
Posted via http://www.ruby-forum.com/.
Robert James wrote:
Any way to force a rake task to run but skip its prereqs? Sometimes you
need to do this.--
Posted via http://www.ruby-forum.com/\.
Probably:
task :without do
meth()
end
task :with => [ preq ] do
meth()
end
def meth
# orig. task code
end
T.
I mean preexisting tasks in Rakefiles.
Trans wrote:
Probably:
task :without do
meth()
endtask :with => [ preq ] do
meth()
enddef meth
# orig. task code
end
--
Posted via http://www.ruby-forum.com/\.
Robert James wrote:
I mean preexisting tasks in Rakefiles.
That's liable to be "dangerous". So it's probably not possible.
T.