From c35bcd49af38d4f69d7e3fe027f78efa839fffdb Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Sun, 14 Jul 2019 17:26:33 -0700 Subject: [PATCH] Adding new templates folder to pkg native installer. Moved templates folder under dotnet to Templates (capital T) and added dotnet/Templates to the deb installer. Adding Templates to the sdk rpm native installer. --- src/redist/targets/BundledTemplates.targets | 4 ++-- src/redist/targets/GenerateDebs.targets | 14 ++++++++++++-- src/redist/targets/GeneratePKG.targets | 7 +++++++ src/redist/targets/GenerateRPMs.targets | 9 +++++++++ 4 files changed, 30 insertions(+), 4 deletions(-) diff --git a/src/redist/targets/BundledTemplates.targets b/src/redist/targets/BundledTemplates.targets index e698e7a31..3c498063e 100644 --- a/src/redist/targets/BundledTemplates.targets +++ b/src/redist/targets/BundledTemplates.targets @@ -42,13 +42,13 @@ + DestinationFolder="$(RedistLayoutPath)Templates/$(BundledTemplatesVersion)"/> + DestinationFolder="$(TemplatesLayoutPath)Templates/$(BundledTemplatesVersion)"/> diff --git a/src/redist/targets/GenerateDebs.targets b/src/redist/targets/GenerateDebs.targets index c911132fc..2d093603a 100644 --- a/src/redist/targets/GenerateDebs.targets +++ b/src/redist/targets/GenerateDebs.targets @@ -83,10 +83,12 @@ $(RepoRoot)Documentation/manpages $(RepoRoot)test/EndToEnd/EndToEnd.Tests.csproj $(RedistLayoutPath)sdk/ + $(RedistLayoutPath)Templates/ - + + @@ -227,7 +229,7 @@ DependsOnTargets="PrepareDotnetDebDirectories; PrepareDotnetDebTool; GetAspNetSharedFxInstallArgs;" - Inputs="@(CLISdkFiles)" + Inputs="@(CLISdkFiles);@(TemplatesFiles)" Outputs="$(SdkDebInstallerFile)" > @@ -248,6 +250,14 @@ SkipUnchangedFiles="False" UseHardlinksIfPossible="False" /> + + + + + + + + + + @@ -50,6 +51,12 @@ SkipUnchangedFiles="False" UseHardlinksIfPossible="False"/> + + $(ArtifactNameCombinedHostHostFxrFrameworkSdk)-$(SdkRpmPackageVersion) $(SdkVersion) $(RedistLayoutPath)sdk/ + $(RedistLayoutPath)Templates/ $(ArtifactsShippingPackagesDir)$(DistroSpecificArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(InstallerExtension) $(SdkRPMInstallerFile) @@ -183,6 +191,7 @@ $(RpmIntermediatesDir)/RpmLayoutDirectory/ $(RpmLayoutDirectory)package_root $(RpmLayoutPackageRoot)/sdk + $(RpmLayoutPackageRoot)/Templates $(RpmLayoutDirectory)docs $(RpmLayoutDirectory)templates $(RpmLayoutDirectory)scripts