|
5 | 5 | <PropertyGroup> |
6 | 6 | <GitHubRepositoryName>aspnetcore</GitHubRepositoryName> |
7 | 7 | <SourceBuildManagedOnly>true</SourceBuildManagedOnly> |
8 | | - <SourceBuildTargetFrameworkFilter>netstandard2.0%3bnetstandard2.1%3bnetcoreapp2.1%3bnetcoreapp3.1%3bnet5.0%3bnet6.0%3bnet7.0%3bnet8.0%3bnet9.0%3bnet10.0</SourceBuildTargetFrameworkFilter> |
9 | 8 | </PropertyGroup> |
10 | 9 |
|
11 | 10 | <!-- |
|
60 | 59 | Condition="'$(OS)' == 'Windows_NT'" /> |
61 | 60 | </Target> |
62 | 61 |
|
63 | | - <Target Name="CustomizeInnerBuildArgs" |
64 | | - BeforeTargets="GetSourceBuildCommandConfiguration"> |
65 | | - |
66 | | - <PropertyGroup> |
67 | | - <InnerBuildArgs Condition="'$(DotNetBuildUseMonoRuntime)' == 'true'">$(InnerBuildArgs) /p:CrossgenOutput=false</InnerBuildArgs> |
68 | | - </PropertyGroup> |
69 | | - </Target> |
70 | | - |
71 | 62 | <Target Name="GetAspnetcoreCategorizedIntermediateNupkgContents" |
72 | 63 | BeforeTargets="GetCategorizedIntermediateNupkgContents"> |
73 | 64 | <PropertyGroup> |
|
84 | 75 | </ItemGroup> |
85 | 76 | </Target> |
86 | 77 |
|
87 | | - <Target Name="RestoreNpmPackages" |
88 | | - Condition="'$(BuildNodeJS)' == 'true' and '$(DotNetBuildSourceOnly)' == 'true'" |
89 | | - BeforeTargets="RunInnerSourceBuildCommand"> |
90 | | - |
91 | | - <Message Text="Checking node version..." Importance="high" /> |
92 | | - <Exec |
93 | | - Command="node --version" |
94 | | - WorkingDirectory="$(InnerSourceBuildRepoRoot)" /> |
95 | | - |
96 | | - <Message Text="Checking npm version..." Importance="high" /> |
97 | | - <Exec |
98 | | - Command="npm --version" |
99 | | - WorkingDirectory="$(InnerSourceBuildRepoRoot)" /> |
100 | | - |
101 | | - <PropertyGroup> |
102 | | - <!-- Disable installing puppeteer browsers when running in source build --> |
103 | | - <_AdditionalEnvironmentVariable Condition="$(DotNetBuildSourceOnly) == 'true'">PUPPETEER_SKIP_DOWNLOAD=1</_AdditionalEnvironmentVariable> |
104 | | - </PropertyGroup> |
105 | | - |
106 | | - <Exec |
107 | | - Command="npm ci" |
108 | | - WorkingDirectory="$(InnerSourceBuildRepoRoot)" |
109 | | - EnvironmentVariables="$(_AdditionalEnvironmentVariable)" /> |
110 | | - |
111 | | - </Target> |
112 | | - |
113 | | - <Target Name="BuildNpmFiles" |
114 | | - Condition="'$(BuildNodeJS)' == 'true' and '$(DotNetBuildSourceOnly)' == 'true'" |
115 | | - DependsOnTargets="RestoreNpmPackages" |
116 | | - BeforeTargets="RunInnerSourceBuildCommand"> |
117 | | - |
118 | | - <Message Text="Building Node JS files..." Importance="high" /> |
119 | | - |
120 | | - <Exec |
121 | | - Command="npm run build" |
122 | | - WorkingDirectory="$(InnerSourceBuildRepoRoot)" /> |
123 | | - |
124 | | - </Target> |
125 | | - |
126 | 78 | </Project> |
0 commit comments