bool DescribeInstall(WrenchProject proj, BuildServices bs) { IResultInstaller iri; Result res; if (WrenchOperations.GetInstallerAndResult(proj, bs, out iri, out res)) { return(true); } if (iri == null) { return(false); } Console.WriteLine(" + {0}", iri.DescribeAction(res, bs.Context)); return(false); }
bool DoRemoteInstall(WrenchProject proj, BuildServices bs) { IResultInstaller iri; Result res; if (WrenchOperations.GetInstallerAndResult(proj, bs, out iri, out res)) { return(true); } if (iri == null) { return(false); } bs.Logger.Log("operation.install", bs.FullName); Console.WriteLine(" + {0}", bs.FullName); return(install_svc.Install((Result)iri, res, install_is_uninstall, new BuildContextProxy(bs.Context))); }