Example #1
0
        protected virtual void ExecutePrebuildCommands(IBuildMetaData metaData, IPackageTree packageTree)
        {
            packageTree.PatchPackage();

            if (!metaData.PrebuildCommandList.HasElements())
            {
                return;
            }

            foreach (var command in metaData.PrebuildCommandList)
            {
                processFactory.ExcuteCommand(command, packageTree.WorkingDirectory.FullName);
            }
        }