From: Larry Fast Date: 2007-03-31T23:04:55+09:00 Subject: has anyone implemented a failable dependency for Rake? What I find myself writing in Rake is the following: task xyz => ['abc?'] do enc # test before proceeding task abc? do if !abc exit end end What I'm creating is failable dependencies. XYZ should not be executed unless abc succeeds. Unfortunately the structure I've shown stops on the first failure. What I'd like to do is report all failures but only execute if everything passes. This could be implemented by processing prerequisites until a prereq returns false. Any task containing any false prereqs would not be processed. Does this exist anywhere? Thanks, Larry Fast -- Posted via http://www.ruby-forum.com/.