don't build the whole repo when making the fallback archive
This commit is contained in:
parent
0d3730749d
commit
dd7e830371
|
|
@ -9,7 +9,7 @@
|
||||||
<!-- Project for building the NuGet Fallback Archive (LZMA for CLI) -->
|
<!-- Project for building the NuGet Fallback Archive (LZMA for CLI) -->
|
||||||
<FallbackArchiveDir>$(RepositoryRoot)src\Archive.AspNetCore.All\</FallbackArchiveDir>
|
<FallbackArchiveDir>$(RepositoryRoot)src\Archive.AspNetCore.All\</FallbackArchiveDir>
|
||||||
<FallbackArchiveProj>$(FallbackArchiveDir)Archive.AspNetCore.All.csproj</FallbackArchiveProj>
|
<FallbackArchiveProj>$(FallbackArchiveDir)Archive.AspNetCore.All.csproj</FallbackArchiveProj>
|
||||||
<ArchiverProj>$(RepositoryRoot)src\dotnet-archive\dotnet-archive.csproj</ArchiverProj>
|
<ArchiverProject>$(RepositoryRoot)src\dotnet-archive\dotnet-archive.csproj</ArchiverProject>
|
||||||
<ArchiverBinary>$(RepositoryRoot)src\dotnet-archive\bin\$(Configuration)\netcoreapp2.0\dotnet-archive.dll</ArchiverBinary>
|
<ArchiverBinary>$(RepositoryRoot)src\dotnet-archive\bin\$(Configuration)\netcoreapp2.0\dotnet-archive.dll</ArchiverBinary>
|
||||||
|
|
||||||
<WorkingDirectory>$(MetaPackagePath)bin\work\</WorkingDirectory>
|
<WorkingDirectory>$(MetaPackagePath)bin\work\</WorkingDirectory>
|
||||||
|
|
@ -28,10 +28,6 @@
|
||||||
$(CompileDependsOn);
|
$(CompileDependsOn);
|
||||||
BuildPackageCache
|
BuildPackageCache
|
||||||
</CompileDependsOn>
|
</CompileDependsOn>
|
||||||
<CompileDependsOn Condition="'$(BUILD_FALLBACK_ARCHIVE)' == 'true'">
|
|
||||||
$(CompileDependsOn);
|
|
||||||
BuildFallbackArchive
|
|
||||||
</CompileDependsOn>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Target Name="UpdateNuGetConfig">
|
<Target Name="UpdateNuGetConfig">
|
||||||
|
|
@ -152,6 +148,10 @@
|
||||||
<TimestampSource>$(COHERENCE_SIGNED_DROP_LOCATION)\Signed\Packages</TimestampSource>
|
<TimestampSource>$(COHERENCE_SIGNED_DROP_LOCATION)\Signed\Packages</TimestampSource>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<!-- Build the dotnet-archiver project -->
|
||||||
|
<MSBuild Projects="$(ArchiverProject)" Targets="Restore" Properties="Configuration=$(Configuration)" />
|
||||||
|
<MSBuild Projects="$(ArchiverProject)" Targets="Build" Properties="Configuration=$(Configuration)" />
|
||||||
|
|
||||||
<!-- Run the actual target twice, once for timestamped packages, once for non-timestamped packages -->
|
<!-- Run the actual target twice, once for timestamped packages, once for non-timestamped packages -->
|
||||||
<!-- Here, we're re-invoking KoreBuild, but limiting it to a specific target. -->
|
<!-- Here, we're re-invoking KoreBuild, but limiting it to a specific target. -->
|
||||||
<!-- This won't rerun the whole build, but it ensures that the necessary MSBuild Tasks and Properties are initialized -->
|
<!-- This won't rerun the whole build, but it ensures that the necessary MSBuild Tasks and Properties are initialized -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue