I want to create a phing task for some plugins, so the directory structure is something like
root - plugin1 - index.php - plugin2 - index.php
etc..
I want to run the same tasks in every subdirectory - for example
- create doc for plugin1
- run unit tests for plugin1
- deploy plugin1 somewhere
- create doc for plugnin2 ...
Is it 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 need to write build.xml for each individual plugin?
Thank you very much.
source share