Changeset 271

Show
Ignore:
Timestamp:
09/10/07 19:40:21 (1 year ago)
Author:
aldacron
Message:

* fixed buildme.d to work with Tango 0.99.1 RC4 "Keep"

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/buildme.d

    r265 r271  
    203203        version(Tango) 
    204204        { 
     205            bool filter(FilePath p, bool isDir) 
     206            { 
     207                char[] name = p.name; 
     208                if(isDir && name[0] != '.') 
     209                    return true; 
     210                return false;   
     211            } 
    205212            scope dir = new FilePath("."); 
    206             foreach(c; dir.toList
     213            foreach(p; dir.toList(&filter)
    207214            { 
    208                 scope path = new FilePath(c); 
    209                 if(path.isFolder && c[0] != '.') 
    210                     processPackage(c); 
     215                processPackage(p.name); 
    211216            } 
    212217        }