diff builder.d @ 95:85589f7a3a28

Changed the builder to ignore all directories named "nobuild". Removed gl example.
author David Bryant <bagnose@gmail.com>
date Thu, 26 Aug 2010 16:14:53 +0930
parents 069ceb9446ad
children 0d427170a805
line wrap: on
line diff
--- a/builder.d	Thu Aug 26 16:08:21 2010 +0930
+++ b/builder.d	Thu Aug 26 16:14:53 2010 +0930
@@ -81,6 +81,8 @@
 // * Everything depends on the parents and descendants of its explicit imports,
 //   up to but not including the common ancestor, transitively.
 //
+// Directories beginning with '.' or named "nobuild" are ignored.
+//
 
 
 // TODO - add doc, data
@@ -964,7 +966,7 @@
         // load local products
         //
         foreach (string name; listdir(path)) {
-            if (name[0] != '.') {
+            if (name[0] != '.' && name != "nobuild") {
                 string p = join(path, name);
                 if (isdir(p)) {
                     foreach (node; mChildren) {