# Darcs & tasks

**URL:** <https://www.ruby-forum.com/t/darcs-tasks/90618>\
**Category:** Radiant CMS\
**Created:** [March 30, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/darcs-tasks/90618 "2007-03-30T12:16:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gendag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f04885/32.png) [@gendag](https://www.ruby-forum.com/u/gendag)\
**Post date:** [March 30, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/darcs-tasks/90618/1 "2007-03-30T12:16:50Z")

</div>

Hi,  
For my extension I’m using darcs as revision control system instead  
of svn…the problem is that if I type:

rake radiant:extensions:gallery:install

rake execute my lib/tasks/install\_taks, but also tasks under \_darcs  
directory…is there a way to exclude \_darcs folder?  
thanks in advance

* * *

Andrea F.

[http://think.bigchief.it](http://think.bigchief.it)

---

<div class="post-metadata">

**Author:** ![gendag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f04885/32.png) [@gendag](https://www.ruby-forum.com/u/gendag)\
**Post date:** [March 30, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/darcs-tasks/90618/2 "2007-03-30T16:01:39Z")

</div>

I think you should edit the Radiant source to do that because the code  
that tuns extensions rakefiles is the following:

# Load any custom rakefiles from extensions

[RAILS\_ROOT, RADIANT\_ROOT].uniq.each do |root|  
Dir[root + ‘/vendor/extensions/ **/tasks/** /\*.rake’].sort.each {  
|ext| load ext }  
end

And it doesn’t allow to exclude directories.

2007/3/30, Andrea F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
