More MyGet enablement
This commit is contained in:
Родитель
72cba8ff01
Коммит
caf46a6ae0
|
@ -49,12 +49,9 @@
|
|||
BuildInParallel="false"
|
||||
Targets="RestorePackages" />
|
||||
<!-- Hand restore packages with binaries that this MSBuild process needs -->
|
||||
<Exec
|
||||
Command='tools\NuGet.exe install StyleCop -Source "\\webstack-git\packages;https://go.microsoft.com/fwlink/?LinkID=230477" -Version 4.7.10.0 -o packages > NUL'
|
||||
LogStandardErrorAsError="true" />
|
||||
<Exec
|
||||
Command='tools\NuGet.exe install Microsoft.Web.FxCop -Source "\\webstack-git\packages;https://go.microsoft.com/fwlink/?LinkID=230477" -ExcludeVersion -o packages > NUL'
|
||||
LogStandardErrorAsError="true" Condition=" !Exists('packages\Microsoft.Web.FxCop') " />
|
||||
<MSBuild
|
||||
Projects="tools\WebStack.NuGet.targets"
|
||||
Targets="RestoreBinaryDependencies" />
|
||||
</Target>
|
||||
|
||||
<Target Name="Build" DependsOnTargets="RestorePackages">
|
||||
|
|
|
@ -45,6 +45,16 @@
|
|||
Condition="Exists('$(PackagesConfig)')" />
|
||||
</Target>
|
||||
|
||||
<Target Name="RestoreBinaryDependencies">
|
||||
<Exec
|
||||
Command='"$(NuGetExePath)" install StyleCop -source $(PackageSources) -o "$(PackagesDir)" -Version 4.7.10.0 > NUL'
|
||||
LogStandardErrorAsError="true" />
|
||||
<Exec
|
||||
Command='"$(NuGetExePath)" install Microsoft.Web.FxCop -source $(PackageSources) -o "$(PackagesDir)" -ExcludeVersion > NUL'
|
||||
LogStandardErrorAsError="true"
|
||||
Condition=" !Exists('packages\Microsoft.Web.FxCop') " />
|
||||
</Target>
|
||||
|
||||
<Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
|
||||
<Exec Command="$(BuildCommand)"
|
||||
LogStandardErrorAsError="true" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче