Building: WebPack is now running only once when publishing the windows host

This commit is contained in:
Zoe Roux 2021-08-28 12:10:07 +02:00
parent 2797792ad8
commit 88320dfa4c
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
</Content> </Content>
</ItemGroup> </ItemGroup>
<Target Name="RunWebpack" Condition="'$(SkipWebApp)' != 'true'"> <Target Name="RunWebpack" Condition="'$(SkipWebApp)' != 'true' And '$(CustomRuntime)' != 'true'">
<Exec Command="node --version" ContinueOnError="true"> <Exec Command="node --version" ContinueOnError="true">
<Output TaskParameter="ExitCode" PropertyName="ErrorCode" /> <Output TaskParameter="ExitCode" PropertyName="ErrorCode" />
</Exec> </Exec>

View File

@ -50,7 +50,7 @@
<ProjectReference Include="../Kyoo.Postgresql/Kyoo.Postgresql.csproj" /> <ProjectReference Include="../Kyoo.Postgresql/Kyoo.Postgresql.csproj" />
<ProjectReference Include="../Kyoo.SqLite/Kyoo.SqLite.csproj" /> <ProjectReference Include="../Kyoo.SqLite/Kyoo.SqLite.csproj" />
<ProjectReference Include="../Kyoo.Authentication/Kyoo.Authentication.csproj" /> <ProjectReference Include="../Kyoo.Authentication/Kyoo.Authentication.csproj" />
<ProjectReference Include="../Kyoo.WebApp/Kyoo.WebApp.csproj" /> <ProjectReference Include="../Kyoo.WebApp/Kyoo.WebApp.csproj" Properties="CustomRuntime=$(CustomRuntime)" />
</ItemGroup> </ItemGroup>
<Target Name="BuildTranscoder" BeforeTargets="BeforeBuild" Condition="'$(SkipTranscoder)' != 'true' And !Exists('$(TranscoderRoot)/build/$(TranscoderBinary)')"> <Target Name="BuildTranscoder" BeforeTargets="BeforeBuild" Condition="'$(SkipTranscoder)' != 'true' And !Exists('$(TranscoderRoot)/build/$(TranscoderBinary)')">