Beispiel #1
0
        public void creates_the_packages()
        {
            var feed = new FileSystemNugetFeed(theOutputDir, NugetStability.Anything);

            feed.FindLatestByName("FubuFoundation").Version.ShouldEqual(new SemanticVersion("1.1.0.0"));
            feed.FindLatestByName("FubuCore.Interfaces").Version.ShouldEqual(new SemanticVersion("1.1.0.0"));
        }
Beispiel #2
0
        public void updates_the_dependencies()
        {
            var feed           = new FileSystemNugetFeed(theOutputDir, NugetStability.Anything);
            var fubuFoundation = feed.FindLatestByName("FubuFoundation");

            var dependency = fubuFoundation.Dependencies().Single();

            dependency.Name.ShouldEqual("FubuCore.Interfaces");
            dependency.VersionSpec.MinVersion.ShouldEqual(new SemanticVersion("1.1.0.0"));
        }
Beispiel #3
0
        public void SetUp()
        {
            theDirectory  = ".".AppendPath("local-feed").ToFullPath();
            theFileSystem = new FileSystem();

            theFileSystem.CreateDirectory(theDirectory);

            createNuget("FubuCore", "0.9.9.9");
            createNuget("FubuCore", "1.0.0.0");
            createNuget("Bottles", "1.0.0.0");

            createNuget("FubuNew", "1.0.0.0");
            createNuget("FubuNew", "1.0.0.1-alpha");

            theFeed = new FileSystemNugetFeed(theDirectory, NugetStability.ReleasedOnly);
        }