Skip to content

Commit b69908e

Browse files
committed
project: use my fork of AvaloniaEdit instead of official NuGet package (#1984)
Signed-off-by: leo <longshuang@msn.cn>
1 parent 47dae06 commit b69908e

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
sudo apt-get install -y curl wget git unzip zip libicu66 tzdata clang
4141
- name: Checkout sources
4242
uses: actions/checkout@v4
43+
- name: Checkout submodules
44+
run: git submodule update --init --recursive
4345
- name: Setup .NET
4446
uses: actions/setup-dotnet@v4
4547
with:

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "depends/AvaloniaEdit"]
2+
path = depends/AvaloniaEdit
3+
url = https://github.com/love-linger/AvaloniaEdit.git

SourceGit.slnx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
<File Path="build/README.md"/>
5252
</Folder>
5353

54+
<Folder Name="/depends/">
55+
<Project Path="depends/AvaloniaEdit/src/AvaloniaEdit/AvaloniaEdit.csproj" />
56+
<Project Path="depends/AvaloniaEdit/src/AvaloniaEdit.TextMate/AvaloniaEdit.TextMate.csproj" />
57+
</Folder>
58+
5459
<Folder Name="/src/">
5560
<Project Path="src/SourceGit.csproj" />
5661
</Folder>

depends/AvaloniaEdit

Submodule AvaloniaEdit added at 35bf63a

src/SourceGit.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,14 @@
5353
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.11" />
5454
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.11" />
5555
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.11" Condition="'$(Configuration)' == 'Debug'" />
56-
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.4.1" />
57-
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.4.1" />
5856
<PackageReference Include="Azure.AI.OpenAI" Version="2.8.0-beta.1" />
5957
<PackageReference Include="BitMiracle.LibTiff.NET" Version="2.4.660" />
6058
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
6159
<PackageReference Include="LiveChartsCore.SkiaSharpView.Avalonia" Version="2.0.0-rc6.1" />
6260
<PackageReference Include="OpenAI" Version="2.8.0" />
6361
<PackageReference Include="Pfim" Version="0.11.4" />
64-
<PackageReference Include="TextMateSharp" Version="2.0.2" />
65-
<PackageReference Include="TextMateSharp.Grammars" Version="2.0.2" />
62+
63+
<ProjectReference Include="../depends/AvaloniaEdit/src/AvaloniaEdit.TextMate/AvaloniaEdit.TextMate.csproj"/>
6664
</ItemGroup>
6765

6866
<ItemGroup>

0 commit comments

Comments
 (0)