     
     func run(server: ServerType) throws { 
         print("Building swift project")
-        try server.within(Config.currentDirectory) {
+        try server.within(Paths.currentDirectory) {
             try server.execute("swift build")
         }
     }

}

extension Config {
    public static var projectName: String? = nil // Must be supplied
    public static var deployDirectory = "/var/www"
    
    public static var repoURL: String? = nil // Must be supplied
    
    public static var projectDirectory: String {
        let project = projectName ?? "Project"
        return "\(deployDirectory)/\(project)"
    }
    
    public static var currentDirectory: String {
        return "\(projectDirectory)/current"
    }
    
    public static var releasesDirectory: String {
        return "\(projectDirectory)/releases"
    }
    
    public static var executable: String {
        let project = projectName ?? "Project"
        return "\(currentDirectory)/.build/debug/\(project)"
    }
}

public class DeployCluster: Cluster {

    let name = "git"
    
    func run(server: ServerType) throws {
        guard let repoURL = Config.repoURL else {
            throw TaskError.Error("You must supply a repoURL in your configuration")
        }
        
        let currentTime = NSDate()
