Created
January 11, 2013 12:43
-
-
Save Sitebase/4510386 to your computer and use it in GitHub Desktop.
Phing list fileset
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fileset id="src.php.custom" dir="${base.dir}src/application/"> | |
<include name="controllers/**/*.php" /> | |
<include name="core/**/*.php" /> | |
<include name="models/**/*.php" /> | |
<include name="modules/**/*.php" /> | |
<include name="helpers/**/*.php" /> | |
<exclude name="**/libraries/**/*.php" /> | |
</fileset> | |
<target name="fileset-list"> | |
<foreach param="filename" absparam="absfilename" target="echoFilesetFile"> | |
<fileset refid="src.php.custom"/> | |
</foreach> | |
</target> | |
<target name="echoFilesetFile"> | |
<echo>file: rel:${filename}|abs:${absfilename}</echo> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
List with:
phing dummy | grep "file:"