public Solution() { NugetSpecFolder = "packaging/nuget"; SourceFolder = "src"; BuildCommand = "rake"; FastBuildCommand = "rake compile"; 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.For(Mode)); UseBuilder(new NugetPlanBuilder()); //_cacheLocalPath = Cache.LocalPath; RestoreSettings = new RestoreSettings(); NuspecSettings = new NuspecSettings(); References = new ReferenceSettings(); Reset(); }
public void should_not_add_reference_to_assembly_with_ignore() { var settings = new ReferenceSettings(); settings.Ignore("FubuCore", "FubuCore.dll"); settings.ShouldAddReference(new Dependency("FubuCore"), "FubuCore").ShouldBeFalse(); }
public Solution() { NugetSpecFolder = "packaging/nuget"; SourceFolder = "src"; BuildCommand = "rake"; FastBuildCommand = "rake compile"; 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.For(Mode)); UseBuilder(new NugetPlanBuilder()); //_cacheLocalPath = Cache.LocalPath; RestoreSettings = new RestoreSettings(); NuspecSettings = new NuspecSettings(); References = new ReferenceSettings(); Reset(); }
public void should_add_reference_to_assembly_with_no_ignore() { var settings = new ReferenceSettings(); settings.ShouldAddReference(new Dependency("FubuCore"), "FubuCore").ShouldBeTrue(); }