From ababb64d51333d2c9b4bfaf07d604667ea1e95e1 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Wed, 27 Dec 2017 09:50:52 -0800 Subject: [PATCH] Change output of sharedfx build to match feed layout - Upgrade build tools - Produce an SVG badge for the sharedfx - Produce the 'latest.aspnetcore.version' file for the dotnet-install.ps1/sh downloader script - Change layout of output for sharefx build - Use KoreBuild's bundled package folder for internal build tools packages --- .vscode/settings.json | 8 ++++++++ build/SharedFx.targets | 26 +++++++++++++++++++++----- build/Templating.targets | 2 +- build/external-dependencies.props | 7 ++++--- build/repo.props | 3 ++- build/repo.targets | 1 + korebuild-lock.txt | 4 ++-- 7 files changed, 39 insertions(+), 12 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..f381ae666e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "files.trimTrailingWhitespace": true, + "files.associations": { + "*.*proj": "xml", + "*.props": "xml", + "*.targets": "xml" + } +} \ No newline at end of file diff --git a/build/SharedFx.targets b/build/SharedFx.targets index e8cc0ad5df..af69b181ad 100644 --- a/build/SharedFx.targets +++ b/build/SharedFx.targets @@ -48,8 +48,8 @@ $(_WorkRoot)SharedFx\ - $(_WorkRoot)Publish\ - $(SharedFxOutputDirectory)shared\Microsoft.AspNetCore.All\$(PackageVersion)\ + $(_WorkRoot)Publish\ + $(SharedFxIntermediateOutputPath)shared\Microsoft.AspNetCore.All\$(PackageVersion)\ <_SharedFxProps>Configuration=$(Configuration);RuntimeIdentifier=$(SharedFxRID) <_SharedFxProps>$(_SharedFxProps);RuntimeFrameworkVersion=$(MicrosoftNETCoreApp21PackageVersion) @@ -122,15 +122,31 @@ Lines="@(VersionLines)" Overwrite="true" /> + + + + + + - + diff --git a/build/Templating.targets b/build/Templating.targets index 649ec288b9..c8d40dc104 100644 --- a/build/Templating.targets +++ b/build/Templating.targets @@ -13,7 +13,7 @@ Configuration=$(Configuration); IsFinalBuild=$(IsFinalBuild); - Restore;Compile;Package + CleanArtifacts;Restore;Compile;Package $(TemplateProjTargets); Test; diff --git a/build/external-dependencies.props b/build/external-dependencies.props index 7603187d1a..f217929aee 100644 --- a/build/external-dependencies.props +++ b/build/external-dependencies.props @@ -196,10 +196,11 @@ https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json + - - - + + + diff --git a/build/repo.props b/build/repo.props index 038fee54db..482d3e7388 100644 --- a/build/repo.props +++ b/build/repo.props @@ -10,7 +10,8 @@ false $(RepositoryRoot)modules\ - $(ArtifactsDir)lineups\ + $([MSBuild]::NormalizeDirectory($(ArtifactsDir)))lineups\ + $([MSBuild]::NormalizeDirectory($(ArtifactsDir)))assets\Runtime\$(PackageVersion)\ $(RepositoryRoot).deps\build\ $(RepositoryRoot).deps\mirror\ diff --git a/build/repo.targets b/build/repo.targets index c320f0152b..f69cbe77cc 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -23,6 +23,7 @@ $(CompileDependsOn);BuildRepositories $(PackageDependsOn);BuildMetapackage;BuildTemplates;SplitPackages $(VerifyDependsOn);VerifyCoherentVersions + $(GetArtifactInfoDependsOn);ResolveRepoInfo diff --git a/korebuild-lock.txt b/korebuild-lock.txt index 2e540bdffd..0fb680d9b6 100644 --- a/korebuild-lock.txt +++ b/korebuild-lock.txt @@ -1,2 +1,2 @@ -version:2.1.0-preview1-15638 -commithash:1d3a0c725dc6b8ae6b0e47800fd6b4d8f8b8d545 +version:2.1.0-preview1-15646 +commithash:c390edb6f73e3ab992402835c004414c1fadfd4a