Exemplo n.º 1
0
		public static ExternalBinaryInfo ParseFromUnixStyle (string command, IBuildContext ctxt) 
		{
		    ExternalBinaryInfo info = new ExternalBinaryInfo ();

		    if (info.SetFromUnixStyle (command, ctxt))
			return null;

		    return info;
		}
Exemplo n.º 2
0
        public static ExternalBinaryInfo ParseFromUnixStyle(string command, IBuildContext ctxt)
        {
            ExternalBinaryInfo info = new ExternalBinaryInfo();

            if (info.SetFromUnixStyle(command, ctxt))
            {
                return(null);
            }

            return(info);
        }
Exemplo n.º 3
0
        // Result

        protected override void CloneTo(Result r)
        {
            ExternalBinaryInfo ebi = (ExternalBinaryInfo)r;

            ebi.Program = Program;
        }
Exemplo n.º 4
0
	bool InitGacutil () {
		ctxt = new MiniBuildContext (this);
		ExternalBinaryInfo ebi = new ExternalBinaryInfo (gacutil_binary);
		ConfigureGacutilProgram configure = new ConfigureGacutilProgram ();

		ArgCollector ac = configure.GetCollector ();
		ac.Add (ebi, log);
		if (ac.FinalizeArgs (ctxt, log))
			return true;

		Result r = configure.Build (ac, ctxt);
		if (r == null)
			return true;

		gacprog = (GacutilProgram) r;
		return false;
	}