Exemple #1
0
        public Solution()
        {
            NugetSpecFolder = "packaging/nuget";
            SourceFolder    = "src";
            Mode            = SolutionMode.Ripple;
            Groups          = new List <DependencyGroup>();
            Nuspecs         = new List <NuspecMap>();

            AddFeed(Feed.Fubu);
            AddFeed(Feed.NuGetV2);

            UseStorage(NugetStorage.Basic());
            UseFeedService(Model.FeedService.Basic(this));
            UseCache(NugetFolderCache.DefaultFor(this));
            UsePublisher(PublishingService.Basic());
            UseBuilder(new NugetPlanBuilder());
            UseValidator(new SolutionValidator());

            RestoreSettings = new RestoreSettings();
            NuspecSettings  = new NuspecSettings();

            Reset();
        }