示例#1
0
 public static bool Uncache(WrenchProject proj, BuildServices bs)
 {
     bs.Logger.Log("operation.uncache", bs.FullName);
     DoBeforeUncache(proj, bs);
     bs.UncacheValue();
     return(false);
 }
示例#2
0
		public static bool Clean (WrenchProject proj, BuildServices bs) {
			BuiltItem bi = bs.GetRawCachedValue ();

			if (!bi.IsValid)
				return false;

			bs.Logger.Log ("operation.clean", bs.FullName);
			if (bi.Result.Clean (bs.Context))
				// FIXME: rename to After
				DoBeforeClean (proj, bs);

			bs.UncacheValue ();
			return false;
		}
示例#3
0
        public static bool Clean(WrenchProject proj, BuildServices bs)
        {
            BuiltItem bi = bs.GetRawCachedValue();

            if (!bi.IsValid)
            {
                return(false);
            }

            bs.Logger.Log("operation.clean", bs.FullName);
            if (bi.Result.Clean(bs.Context))
            {
                // FIXME: rename to After
                DoBeforeClean(proj, bs);
            }

            bs.UncacheValue();
            return(false);
        }
示例#4
0
		public static bool Uncache (WrenchProject proj, BuildServices bs) {
			bs.Logger.Log ("operation.uncache", bs.FullName);
			DoBeforeUncache (proj, bs);
			bs.UncacheValue ();
			return false;
		}