Update to latest SplitPackages version (#230)
React to aspnet/BuildTools#273
This commit is contained in:
Родитель
278b3e8d6d
Коммит
75aa01d53c
|
@ -65,4 +65,4 @@ if (!(Test-Path $buildFolder)) {
|
|||
}
|
||||
}
|
||||
|
||||
&"$buildFile" $args
|
||||
&"$buildFile" @args
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<SplitPackagesVersion>1.0.2-rc2-15276</SplitPackagesVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SplitPackages" Version="$(SplitPackagesVersion)" />
|
||||
<PackageReference Include="SplitPackages" Version="1.0.3-*" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -41,17 +41,13 @@
|
|||
</Target>
|
||||
|
||||
<Target Name="RunSplitPackages" DependsOnTargets="_FindDotNetPath">
|
||||
<PropertyGroup>
|
||||
<SplitPackagePath>$([MSBuild]::EnsureTrailingSlash('$(NuGetPackageRoot)'))splitpackages\$(SplitPackagesVersion)</SplitPackagePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ProductPackagesSource>$(ArtifactsDir)product-packages</ProductPackagesSource>
|
||||
<SplitPackagesCsv>$(RepositoryRoot)packages\packages.csv</SplitPackagesCsv>
|
||||
<SplitPackagesBinary>$(SplitPackagePath)\SplitPackages.dll</SplitPackagesBinary>
|
||||
<SplitPackagesArgs>--source $(ProductPackagesSource) --csv $(SplitPackagesCsv) --destination $(ArtifactsDir)</SplitPackagesArgs>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command=""$(DotNetPath)" "$(SplitPackagesBinary)" $(SplitPackagesArgs)" />
|
||||
<Exec Command=""$(DotNetPath)" "$(SplitPackagesNetCoreAppPath)" $(SplitPackagesArgs)" />
|
||||
|
||||
<RemoveDir Directories="$(ProductPackagesSource)" />
|
||||
</Target>
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"SplitPackages": "1.0.1-*",
|
||||
"DependenciesPackager": "1.0.1-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"net451": { }
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче