Torque3D/Tools/projectGenerator/templates/buildManifest_fileRecurse.tpl
2012-09-19 11:22:58 -04:00

16 lines
No EOL
581 B
Smarty

{* *}
{* Is this a dir or an item? *}
{* *}
{if is_array($dirWalk)}
{* *}
{* Iterate over children *}
{* *}
{foreach from=$dirWalk item=dir key=key}
{include file="buildManifest_fileRecurse.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
{/foreach}
{else}
{* *}
{* Output an item *}
{* *}
{$dirWalk->path}
{/if}