i'm building a free and a pro package with Ant.
In the pro version, there aren't some files, since i can skip them using a custom PhpDoc tag.
Sadly, using this system i have some empty dirs with only a index.html
and i'd wish to delete them, so i can distribuite a "clean" package.
Directories I need to delete follow this path:
views
`- {directoryName1}
`- tmpl
`- index.html
`- {directoryName2}
.... and son on ....
Only the directoryName changes everytime, excepts that everything remains the same.
I tried with this ant task, but it didn't work:
<delete includeemptydirs="true">
<fileset dir="${buildDir}/free">
<exclude name="**/*" />
<include name="**/tmpl/index.html"/>
</fileset>
</delete>
any help?