Changeset 792
- Timestamp:
- 08/28/07 00:47:30 (1 year ago)
- Files:
-
- trunk/docs/ChangeLog (modified) (1 diff)
- trunk/hcf/path.d (modified) (1 diff)
- trunk/sss/build.d (modified) (1 diff)
- trunk/sss/conf.d (modified) (3 diffs)
- trunk/sss/install.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/ChangeLog
r791 r792 2 2 - Rebuild: Merged DMD 2.003. 3 3 - Improved incremental build speed. 4 - Fixed excludes to work with a larger variety of paths (see ticket #126). 5 - Added a warning for targets containing no files. 4 6 5 7 0.72 from 0.71: trunk/hcf/path.d
r497 r792 164 164 } 165 165 } 166 167 // get rid of any introductory ./'s 168 while (ret.length > 2 && ret[0..2] == "." ~ std.path.sep) { 169 ret = ret[2..$]; 170 } 166 171 167 172 // finally, get rid of any trailing separators trunk/sss/build.d
r791 r792 246 246 // output what we're building 247 247 writefln("%s => %s", build, target); 248 if (files.length == 0) { 249 writefln("WARNING: Section %s has no files.", build); 250 continue; 251 } 248 252 249 253 // prepare to do documentation trunk/sss/conf.d
r771 r792 795 795 if (!force && 796 796 (ndir in conf.settings || // a separate target 797 excluded( ndir))) {797 excluded(canonPath(ndir)))) { 798 798 return; 799 799 } … … 819 819 } else if (ext == "d") { 820 820 // or just add it 821 if (!excluded( file)) {821 if (!excluded(canonPath(file))) { 822 822 files ~= file; 823 823 } … … 825 825 } else if (ext == "di") { 826 826 // only add .di files if we should 827 if (includeDi ) {827 if (includeDi && !excluded(canonPath(file))) { 828 828 files ~= file; 829 829 } trunk/sss/install.d
r769 r792 94 94 if (type == "library" && libsSafe()) { 95 95 // far more complicated 96 char[][] srcFiles = targetToFiles(build, conf, true); 97 if (srcFiles.length == 0) { 98 // warning is in sss.build 99 continue; 100 } 96 101 97 102 // 1) copy in library files … … 149 154 150 155 // 2) install generated .di files 151 char[][] srcFiles = targetToFiles(build, conf, true);152 156 foreach (file; srcFiles) { 153 157 // if it's already a .di file, this is simpler
