| Name | Message | Date |
|---|---|---|
| 📁 src | 23 days ago | |
| 📄 Cargo.lock | 23 days ago | |
| 📄 Cargo.toml | 23 days ago | |
| 📄 GitBrowser.SyntaxHighlighter.csproj | 23 days ago | |
| 📄 packages.lock.json | 23 days ago | |
| 📄 Syntax.cs | 23 days ago |
📄
GitBrowser.SyntaxHighlighter.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<Target Name="Rust Build " BeforeTargets="Compile">
<Exec Command="echo 'Configuration: $(Configuration)'" />
<Exec
Condition="'$(Configuration)' == 'Release'"
Command="cargo build --release --frozen"
WorkingDirectory="."
/>
<Exec Condition="'$(Configuration)' != 'Release'" Command="cargo build" WorkingDirectory="." />
</Target>
<ItemGroup>
<Content
Condition="$([MSBuild]::IsOSPlatform('Windows'))"
Include="./target/$(Configuration.ToLower())/syntax_highlighter.dll"
>
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content
Condition="$([MSBuild]::IsOSPlatform('Linux'))"
Include="./target/$(Configuration.ToLower())/libsyntax_highlighter.so"
>
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content
Condition="$([MSBuild]::IsOSPlatform('OSX'))"
Include="./target/$(Configuration.ToLower())/libsyntax_highlighter.dylib"
>
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>