Skip to content

Commit

Permalink
Update to use NuGet3 repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
feiling committed Apr 29, 2015
1 parent ecf0a7a commit fe8a654
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
14 changes: 4 additions & 10 deletions build-nuget.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function ProjectKBuild([string]$projectDirectory, [string]$outputDirectory)
Write-Output "last exit code $result"
if ($result -ne 0)
{
throw "Build failed"
$errorMessage = "Build failed. Project directory is $projectDirectory"
throw $errorMessage
}

# copy the generated nupkgs
Expand Down Expand Up @@ -88,20 +89,13 @@ if ($Clean)
{
rm "$packagesDirectory\*.nupkg"

RemovePackages "$GitRoot\NuGet.Versioning\packages"
RemovePackages "$GitRoot\NuGet.Configuration\packages"
RemovePackages "$GitRoot\NuGet.Packaging\packages"
RemovePackages "$GitRoot\NuGet.Protocol\packages"
RemovePackages "$GitRoot\NuGet3\packages"
RemovePackages "$GitRoot\NuGet.PackageManagement\packages"
RemovePackages "$GitRoot\NuGet.CommandLine\packages"
RemovePackages "$GitRoot\NuGet.VisualStudioExtension\packages"
}

# build k-based solutions
ProjectKBuild "$GitRoot\NuGet.Versioning" "$GitRoot\nupkgs"
ProjectKBuild "$GitRoot\NuGet.Configuration" "$GitRoot\nupkgs"
ProjectKBuild "$GitRoot\NuGet.Packaging" "$GitRoot\nupkgs"
ProjectKBuild "$GitRoot\NuGet.Protocol" "$GitRoot\nupkgs"
ProjectKBuild "$GitRoot\NuGet3" "$GitRoot\nupkgs"

# now build NuGet.PackageManagement
BuildNuGetPackageManagement
Expand Down
5 changes: 1 addition & 4 deletions clone-repos.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
& git clone https://github.com/NuGet/NuGet.Configuration.git -b dev
& git clone https://github.com/NuGet/NuGet3.git -b dev
& git clone https://github.com/NuGet/NuGet.PackageManagement.git -b dev
& git clone https://github.com/NuGet/NuGet.Packaging.git -b dev
& git clone https://github.com/NuGet/NuGet.Protocol.git -b dev
& git clone https://github.com/NuGet/NuGet.Versioning.git -b dev
& git clone https://github.com/NuGet/NuGet.VisualStudioExtension.git -b dev

0 comments on commit fe8a654

Please sign in to comment.