示例#1
0
        public override bool DistClone(IBuildContext ctxt)
        {
            if (storage != ResultStorageKind.Source)
            {
                return(false);
            }

            string path = ctxt.DistPath(this);

            System.IO.Directory.CreateDirectory(path);
            return(true);
        }
示例#2
0
        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);
        }
示例#3
0
文件: MBFile.cs 项目: emtees/old-code
		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;
		}
示例#4
0
 public string DistPath(MBDirectory dir)
 {
     return(real.DistPath(dir));
 }