Ejemplo n.º 1
0
        public override IEnumerable <BuildObject> getDependencies(out DependencyDisposition ddisp)
        {
            List <BuildObject> result = new List <BuildObject>();

            result.Add(srcObject);

            result.Add(verifyResultsVerb.getOutputFile());

            ddisp = DependencyDisposition.Complete;

            return(result);
        }
Ejemplo n.º 2
0
        public override IVerbWorker getWorker()
        {
            if (verificationRequest.isComplete())
            {
                VerificationResult vr = VerificationResult.fromXmlFile(batchSummaryVerb.getOutputFile().getRelativePath());

                if (!vr.pass)
                {
                    Util.Assert(false);     //- Should never get here, since Ironclad app should fail before producing a verified exe
                    return(new VerbSyncWorker(new Failed()));
                }
            }

            //- Copy the AppLoader binary and the bootloader into the same directory as the app's binary, so the pxe-loader can find them
            File.Copy(loaderVerb.getExe().getFilesystemPath(), loaderCopy.getFilesystemPath(), true);
            File.Copy(appVerb.getExe().getFilesystemPath(), appExecutableCopy.getFilesystemPath(), true);
            File.Copy(bootloader.getFilesystemPath(), bootloaderCopy.getFilesystemPath(), true);

            writeBootFile();
            return(new VerbSyncWorker(new Fresh()));
        }