mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Remove yarn build from CSProj, should speed up builds
This commit is contained in:
parent
347aa51a85
commit
84ad399da5
1 changed files with 1 additions and 16 deletions
|
@ -104,18 +104,3 @@
|
||||||
<Message Importance="high" Text="Restoring dependencies using 'yarn'. This may take several minutes..." />
|
<Message Importance="high" Text="Restoring dependencies using 'yarn'. This may take several minutes..." />
|
||||||
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn install" />
|
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn install" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PublishRunWebpack" AfterTargets="ComputeFilesToPublish">
|
|
||||||
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn install" />
|
|
||||||
<Exec WorkingDirectory="$(SpaRoot)" Command="yarn run build --prod" />
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<DistFiles Include="$(SpaRoot)dist\**; $(SpaRoot)dist-server\**" />
|
|
||||||
<DistFiles Include="$(SpaRoot)node_modules\**" Condition="'$(BuildServerSideRenderer)' == 'true'" />
|
|
||||||
<ResolvedFileToPublish Include="@(DistFiles->'%(FullPath)')" Exclude="@(ResolvedFileToPublish)">
|
|
||||||
<RelativePath>%(DistFiles.Identity)</RelativePath>
|
|
||||||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
||||||
</ResolvedFileToPublish>
|
|
||||||
</ItemGroup>
|
|
||||||
</Target>
|
|
||||||
</Project>
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue