From: Jim Weirich Date: 2004-08-25T20:38:11+09:00 Subject: Re: Rake FileList not working? T. Onoma said: > BTW, how do I give the RDocTask a prerequisite? Prerequisites can be added to a task at any time. Just redeclare the task and the prerequisites and action will be appended to the existing task. For example: task :build => [:preprocess, :compile, :link] is equivalent to ... task :build => [:preprocess] task :build => [:compile] task :build => [:link] So, to add a prereq to the :rdoc task ... task :rdoc => [:whatever] -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)