Assuming the Rakefile:
namespace :abc do
task :foo do
# …
end
end
namespace :def do
task :bar => ??? do
# …
end
end
Is there a way for me to reference the task abc:foo as a requirement
where the ??? is?
Thanks.
James Edward G. II
Assuming the Rakefile:
namespace :abc do
task :foo do
# …
end
end
namespace :def do
task :bar => ??? do
# …
end
end
Is there a way for me to reference the task abc:foo as a requirement
where the ??? is?
Thanks.
James Edward G. II
On Wed, Feb 28, 2007 at 07:47:29AM +0900, James Edward G. II wrote:
# ...
end
endIs there a way for me to reference the task abc:foo as a requirement
where the ??? is?
Sure, just provide a fully qualified task name:
namespace :def do
task :bar => ‘abc:foo’ do
# …
end
end
marcel
On Feb 27, 2007, at 4:54 PM, Marcel Molina Jr. wrote:
task :bar => ??? do
namespace :def do
task :bar => ‘abc:foo’ do
# …
end
end
Thank you.
James Edward G. II
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs