+import Darwin
 import Foundation
 import PathKit
 

    }
    let module = moduledir + "\(name).swiftmodule"

    // TODO, respect specifications module name
    // TODO support spec's frameworks
    try swiftc(["-I", moduledir.description, "-L", libdir.description, libraries, "-module-name", name, "-emit-library", "-emit-module", "-emit-module-path", module.description, source, "-o", library.description])
  }
}


      return accumulator + [file]
    }

    let sourceFiles = expandedDirectories.filter { $0.`extension` != "h" }  // Discard headers

    for file in sourceFiles {
