From b5fb725bc33deb0d08e91d4ccc48aa9ce5ae2cdb Mon Sep 17 00:00:00 2001 From: kayone Date: Fri, 15 Nov 2013 00:32:38 -0800 Subject: [PATCH] updated Nuget.targets --- src/.nuget/NuGet.targets | 109 +++++++++++++++++++++++++++++++-------- 1 file changed, 87 insertions(+), 22 deletions(-) diff --git a/src/.nuget/NuGet.targets b/src/.nuget/NuGet.targets index ad2b581e7..83fe90601 100644 --- a/src/.nuget/NuGet.targets +++ b/src/.nuget/NuGet.targets @@ -2,38 +2,62 @@ $(MSBuildProjectDirectory)\..\ + + + false - - $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) - $([System.IO.Path]::Combine($(ProjectDir), "packages.config")) - $([System.IO.Path]::Combine($(SolutionDir), "packages")) + + false - - $(SolutionDir).nuget - packages.config - $(SolutionDir)packages + + true + + false + + + + + + + + + + + $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) + $([System.IO.Path]::Combine($(ProjectDir), "packages.config")) + + + + + $(SolutionDir).nuget + packages.config + + + - $(NuGetToolsPath)\nuget.exe + $(NuGetToolsPath)\NuGet.exe + @(PackageSource) + "$(NuGetExePath)" mono --runtime=v4.0.30319 $(NuGetExePath) $(TargetDir.Trim('\\')) - - - "http://build.nzbdrone.com/guestAuth/app/nuget/v1/FeedService.svc";"https://nuget.org/api/v2/" - - - false - - - false + + -RequireConsent + -NonInteractive + + "$(SolutionDir) " + "$(SolutionDir)" - $(NuGetCommand) install "$(PackagesConfig)" -source $(PackageSources) -o "$(PackagesDir)" - $(NuGetCommand) pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols + $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) + $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols - + RestorePackages; $(BuildDependsOn); @@ -48,7 +72,17 @@ - + + + + + + + @@ -68,4 +102,35 @@ LogStandardErrorAsError="true" Condition=" '$(OS)' == 'Windows_NT' " /> + + + + + + + + + + + + + + + + + \ No newline at end of file