public override bool DistClone(IBuildContext ctxt) { if (storage != ResultStorageKind.Source) { return(false); } string path = ctxt.DistPath(this); System.IO.Directory.CreateDirectory(path); return(true); }
public override bool DistClone(IBuildContext ctxt) { if (!dir.DistClone(ctxt)) { return(false); } string path = Path.Combine(ctxt.DistPath(dir), Name); CopyToUnsafe(path, ctxt); return(true); }
public override bool DistClone (IBuildContext ctxt) { if (!dir.DistClone (ctxt)) return false; string path = Path.Combine (ctxt.DistPath (dir), Name); CopyToUnsafe (path, ctxt); return true; }
public string DistPath(MBDirectory dir) { return(real.DistPath(dir)); }