Exemplo n.º 1
0
        public void Execute(SolutionInput input, IRippleStepRunner runner)
        {
            var missing = runner.Get<DownloadedNugets>();

            missing.Each(nuget =>
            {
                var dir = Solution.PackagesDirectory();
                RippleLog.Debug("Exploding " + nuget.ToString());
                nuget.ExplodeTo(dir);
            });
        }
Exemplo n.º 2
0
        public void Execute(RippleInput input, IRippleStepRunner runner)
        {
            var missing = runner.Get <DownloadedNugets>();

            if (missing.Any())
            {
                Solution.AssertNoLockedFiles();
            }

            missing.Each(nuget =>
            {
                var dir = Solution.PackagesDirectory();
                RippleLog.Debug("Exploding " + nuget.ToString());
                nuget.ExplodeTo(dir);
            });
        }
Exemplo n.º 3
0
        public void Execute(RippleInput input, IRippleStepRunner runner)
        {
            var missing = runner.Get<DownloadedNugets>();

            if (missing.Any())
            {
                Solution.AssertNoLockedFiles();
            }

            missing.Each(nuget =>
            {
                var dir = Solution.PackagesDirectory();
                RippleLog.Debug("Exploding " + nuget.ToString());
                nuget.ExplodeTo(dir);
            });
        }
Exemplo n.º 4
0
        protected override void execute(CreatePackagesInput input, IRippleStepRunner runner)
        {
            runner.CreateDirectory(input.DestinationFlag);

            var report = runner.Get <NuspecGenerationReport>();

            if (report == null)
            {
                throw new InvalidOperationException("Could not find generation report");
            }

            report.NuspecFiles.Each(file =>
            {
                var version = input.Version();
                RippleLog.Info("Building the nuget spec file at " + file + " as version " + version);

                Solution.Package(new PackageParams(NugetSpec.ReadFrom(file), version, input.DestinationFlag, input.CreateSymbolsFlag));
                RippleLog.Info(ConsoleWriter.HL);
            });
        }