mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
Adding an automatic symlink for the Angular's app
This commit is contained in:
parent
1b1eafb901
commit
44323f42e7
@ -12,6 +12,7 @@
|
||||
|
||||
<!-- Set this to true if you enable server-side prerendering -->
|
||||
<BuildServerSideRenderer>false</BuildServerSideRenderer>
|
||||
|
||||
<Company>SDG</Company>
|
||||
<Authors>Zoe Roux</Authors>
|
||||
<RepositoryUrl>https://github.com/AnonymusRaccoon/Kyoo</RepositoryUrl>
|
||||
@ -88,6 +89,10 @@
|
||||
<Exec WorkingDirectory="$(SpaRoot)" Command="npm install" />
|
||||
</Target>
|
||||
|
||||
<Target Name="Symlink views to output - Linux" AfterTargets="Build" Condition="$(Configuration) == 'Debug' And $(OS) == 'Unix'">
|
||||
<Exec WorkingDirectory="$(OutputPath)" Command="ln -fs ../../../Views"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="Compile the transcoder" BeforeTargets="BeforeBuild">
|
||||
<Exec WorkingDirectory="$(TranscoderRoot)" Command="mkdir --parent build; cd build; cmake ..; make -j" />
|
||||
<Copy SourceFiles="$(TranscoderRoot)/build/libtranscoder.so" DestinationFolder="." />
|
||||
@ -103,8 +108,4 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Models\DatabaseMigrations" />
|
||||
<Folder Include="Models\DatabaseMigrations\Internal" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
@ -199,9 +199,7 @@ namespace Kyoo
|
||||
spa.Options.SourcePath = Path.Join(AppDomain.CurrentDomain.BaseDirectory, "Views/WebClient");
|
||||
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
spa.UseAngularCliServer("start");
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 09edd091b9bc75b697da4dc16eeaf9aadb9d4b05
|
||||
Subproject commit 57d382f7246287a611892359e444355e745d0795
|
Loading…
x
Reference in New Issue
Block a user