Changeset 271
- Timestamp:
- 09/10/07 19:40:21 (1 year ago)
- Files:
-
- trunk/buildme.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/buildme.d
r265 r271 203 203 version(Tango) 204 204 { 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 } 205 212 scope dir = new FilePath("."); 206 foreach( c; dir.toList)213 foreach(p; dir.toList(&filter)) 207 214 { 208 scope path = new FilePath(c); 209 if(path.isFolder && c[0] != '.') 210 processPackage(c); 215 processPackage(p.name); 211 216 } 212 217 }
