I want to create phing task for some plugins so the directory structure is something like
root
- plugin1
- index.php
- plugin2
- index.php
etc..
I want to run same tasks on each subdirectory - for example
- generate doc for plugin1
- run unit tests for plugin1
- deploy plugin1 somewhere
- generate doc for plugnin2 ...
Is this possible? I need something like
<foreach param="filename" absparam="absfilename" target="subtask">
<fileset dir=".">
<include name="*.php"/>
</fileset>
</foreach>
but for directories.
Or do I have to write build.xml for each plugin standalone?
Thanks a lot.