Skip to content

Commit 1aa3e24

Browse files
committed
osx: include new Avalonia helpers on macOS
1 parent bfe20a9 commit 1aa3e24

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

src/osx/Installer.Mac/Installer.Mac.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
<ItemGroup>
1515
<ProjectReference Include="../../shared/Git-Credential-Manager/Git-Credential-Manager.csproj" ReferenceOutputAssembly="false" />
16+
<ProjectReference Include="../../shared/Atlassian.Bitbucket.UI/Atlassian.Bitbucket.UI.csproj" ReferenceOutputAssembly="false" />
17+
<ProjectReference Include="../../shared/GitHub.UI/GitHub.UI.csproj" ReferenceOutputAssembly="false" />
1618
</ItemGroup>
1719

1820
<!-- Implicit SDK targets import (so we can override the default targets below) -->

src/osx/Installer.Mac/layout.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ SRC="$ROOT/src"
2121
OUT="$ROOT/out"
2222
INSTALLER_SRC="$SRC/osx/Installer.Mac"
2323
GCM_SRC="$SRC/shared/Git-Credential-Manager"
24+
BITBUCKET_UI_SRC="$SRC/shared/Atlassian.Bitbucket.UI"
25+
GITHUB_UI_SRC="$SRC/shared/GitHub.UI"
2426

2527
# Build parameters
2628
FRAMEWORK=net5.0
@@ -77,6 +79,20 @@ dotnet publish "$GCM_SRC" \
7779
--runtime="$RUNTIME" \
7880
--output="$(make_absolute "$PAYLOAD")" || exit 1
7981

82+
echo "Publishing Bitbucket UI helper..."
83+
dotnet publish "$BITBUCKET_UI_SRC" \
84+
--configuration="$CONFIGURATION" \
85+
--framework="$FRAMEWORK" \
86+
--runtime="$RUNTIME" \
87+
--output="$(make_absolute "$PAYLOAD")" || exit 1
88+
89+
echo "Publishing GitHub UI helper..."
90+
dotnet publish "$GITHUB_UI_SRC" \
91+
--configuration="$CONFIGURATION" \
92+
--framework="$FRAMEWORK" \
93+
--runtime="$RUNTIME" \
94+
--output="$(make_absolute "$PAYLOAD")" || exit 1
95+
8096
# Collect symbols
8197
echo "Collecting managed symbols..."
8298
mv "$PAYLOAD"/*.pdb "$SYMBOLOUT" || exit 1

src/osx/SignFiles.Mac/SignFiles.Mac.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,20 @@
2020

2121
<ItemGroup>
2222
<FilesToSign Include="
23+
$(OutDir)\Atlassian.Bitbucket.dll;
24+
$(OutDir)\Atlassian.Bitbucket.UI.dll;
2325
$(OutDir)\git-credential-manager-core.dll;
2426
$(OutDir)\GitHub.dll;
27+
$(OutDir)\GitHub.UI.dll;
2528
$(OutDir)\Microsoft.AzureRepos.dll;
2629
$(OutDir)\Microsoft.Git.CredentialManager.dll;">
2730
<Authenticode>Microsoft400</Authenticode>
2831
<InProject>false</InProject>
2932
</FilesToSign>
3033
<MacFilesToSign Include="
31-
$(OutDir)\git-credential-manager-core;">
34+
$(OutDir)\git-credential-manager-core;
35+
$(OutDir)\GitHub.UI;
36+
$(OutDir)\Atlassian.Bitbucket.UI;">
3237
<InProject>false</InProject>
3338
</MacFilesToSign>
3439
</ItemGroup>

0 commit comments

Comments
 (0)