ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
[Rake] call a task of a namespace from an other task.
by Stephane Wirtel other posts by this author
Jun 14 2007 9:06AM messages near this date
Re: help | Re: [Rake] call a task of a namespace from an other task.
Hi all,

I try to call a task of a namespace from an other task !

Exemple:

ReleaseDirectory = File.join( "d:", "release" )

namespace :release do
    task :create do
        mkdir_p ReleaseDirectory, QUIET
    end
end

namespace :kernel do
    task :compile do
    end

    task :release =>  [ ???? ] do
    end
end


"????" What can I put ? I would like to use the task ":create" of the
namespace ":release". Is there a way to resolve my problem ?

Thanks

Stephane Wirtel
Thread:
Stephane Wirtel
Bob Showalter
Stephane Wirtel
Stephane Wirtel

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved